49 lines
968 B
TOML
49 lines
968 B
TOML
|
|
[build-system]
|
||
|
|
requires = ["hatchling"]
|
||
|
|
build-backend = "hatchling.build"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "freepik-cli"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "A beautiful CLI for the Freepik AI API — generate images, videos, and more"
|
||
|
|
readme = "README.md"
|
||
|
|
requires-python = ">=3.11"
|
||
|
|
license = { text = "MIT" }
|
||
|
|
authors = [{ name = "Sebastian Krüger", email = "valknar@pivoine.art" }]
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
"typer[all]>=0.12.0",
|
||
|
|
"rich>=13.7.0",
|
||
|
|
"httpx>=0.27.0",
|
||
|
|
"pydantic>=2.7.0",
|
||
|
|
"pydantic-settings>=2.3.0",
|
||
|
|
"toml>=0.10.2",
|
||
|
|
"platformdirs>=4.2.0",
|
||
|
|
"pillow>=10.3.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
dev = [
|
||
|
|
"pytest>=8.2.0",
|
||
|
|
"ruff>=0.4.0",
|
||
|
|
"mypy>=1.10.0",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
freepik = "freepik_cli.main:app"
|
||
|
|
|
||
|
|
[tool.hatch.build.targets.wheel]
|
||
|
|
packages = ["freepik_cli"]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
target-version = "py311"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "I", "UP"]
|
||
|
|
ignore = ["E501"]
|
||
|
|
|
||
|
|
[tool.mypy]
|
||
|
|
python_version = "3.11"
|
||
|
|
strict = false
|