2025-09-27 00:29:45 +02:00
|
|
|
[project]
|
|
|
|
|
name = "ohmyapi"
|
2025-10-02 03:09:23 +02:00
|
|
|
version = "0.2.5"
|
2025-09-29 18:28:48 +02:00
|
|
|
description = "Django-flavored scaffolding and management layer around FastAPI, Pydantic, TortoiseORM and Aerich migrations"
|
2025-09-27 05:02:16 +02:00
|
|
|
license = "MIT"
|
2025-09-29 18:28:48 +02:00
|
|
|
keywords = ["fastapi", "tortoise", "orm", "pydantic", "async", "web-framework"]
|
2025-09-27 00:29:45 +02:00
|
|
|
authors = [
|
|
|
|
|
{name = "Brian Wiborg", email = "me@brianwib.org"}
|
|
|
|
|
]
|
|
|
|
|
readme = "README.md"
|
2025-09-29 19:56:13 +02:00
|
|
|
requires-python = ">=3.11"
|
2025-09-27 12:32:03 +02:00
|
|
|
|
2025-09-27 00:29:45 +02:00
|
|
|
dependencies = [
|
2025-09-27 12:32:03 +02:00
|
|
|
"typer >=0.19.1,<0.20.0",
|
|
|
|
|
"jinja2 >=3.1.6,<4.0.0",
|
|
|
|
|
"fastapi >=0.117.1,<0.118.0",
|
|
|
|
|
"tortoise-orm >=0.25.1,<0.26.0",
|
|
|
|
|
"aerich >=0.9.1,<0.10.0",
|
|
|
|
|
"uvicorn >=0.36.0,<0.37.0",
|
|
|
|
|
"ipython >=9.5.0,<10.0.0",
|
|
|
|
|
"passlib >=1.7.4,<2.0.0",
|
|
|
|
|
"pyjwt >=2.10.1,<3.0.0",
|
|
|
|
|
"python-multipart >=0.0.20,<0.0.21",
|
|
|
|
|
"crypto >=1.4.1,<2.0.0",
|
|
|
|
|
"argon2-cffi >=25.1.0,<26.0.0",
|
2025-09-27 00:29:45 +02:00
|
|
|
]
|
|
|
|
|
|
2025-09-27 12:32:03 +02:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
|
ipython = ">=9.5.0,<10.0.0"
|
2025-09-28 15:41:01 +02:00
|
|
|
black = "^25.9.0"
|
|
|
|
|
isort = "^6.0.1"
|
2025-10-02 00:49:53 +02:00
|
|
|
mkdocs = "^1.6.1"
|
2025-09-27 00:29:45 +02:00
|
|
|
|
2025-09-27 12:32:03 +02:00
|
|
|
[project.optional-dependencies]
|
|
|
|
|
auth = ["passlib", "pyjwt", "crypto", "argon2-cffi", "python-multipart"]
|
2025-09-27 00:29:45 +02:00
|
|
|
|
2025-09-27 12:32:03 +02:00
|
|
|
[tool.poetry]
|
|
|
|
|
packages = [ { include = "ohmyapi", from = "src" } ]
|
2025-09-27 00:29:45 +02:00
|
|
|
|
2025-09-27 12:32:03 +02:00
|
|
|
[project.scripts]
|
|
|
|
|
ohmyapi = "ohmyapi.cli:app"
|
2025-09-28 15:41:01 +02:00
|
|
|
|
2025-10-02 02:06:36 +02:00
|
|
|
[project.urls]
|
|
|
|
|
repository = "https://code.c-base.org/baccenfutter/ohmyapi"
|
|
|
|
|
|
2025-09-28 15:41:01 +02:00
|
|
|
[tool.black]
|
|
|
|
|
line-length = 88
|
|
|
|
|
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
|
|
|
|
|
include = '\.pyi?$'
|
|
|
|
|
exclude = '''
|
|
|
|
|
/(
|
|
|
|
|
\.git
|
|
|
|
|
| \.venv
|
|
|
|
|
| build
|
|
|
|
|
| dist
|
|
|
|
|
)/
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
|
profile = "black" # makes imports compatible with black
|
|
|
|
|
line_length = 88
|
|
|
|
|
multi_line_output = 3
|
|
|
|
|
include_trailing_comma = true
|
|
|
|
|
|