84 lines
No EOL
2.1 KiB
TOML
84 lines
No EOL
2.1 KiB
TOML
[tool.poetry]
|
|
name = "rec"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = ["Kadir Tugan <git@k8n.dev>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">3.11"
|
|
requests = "^2.31.0"
|
|
cachetools = "^5.3.2"
|
|
diskcache = "^5.6.3"
|
|
tqdm = "^4.66.2"
|
|
pillow = "^10.2.0"
|
|
numpy = "^1.26.4"
|
|
transformers = "^4.38.2"
|
|
pytesseract = "^0.3.10"
|
|
pandas = "^2.2.1"
|
|
geopy = "^2.4.1"
|
|
matplotlib = "^3.10.0"
|
|
opencv-python = "^4.11.0.86"
|
|
click = "^8.2.0"
|
|
aiohttp = "^3.11.18"
|
|
aiohttp-socks = "^0.8.4"
|
|
sqlmodel = "^0.0.24"
|
|
alembic = "^1.16.1"
|
|
sqlalchemy = {extras = ["asyncio"], version = "^2.0.41"}
|
|
tenacity = "^9.1.2"
|
|
fastapi = {extras = ["standard"], version = "^0.115.12"}
|
|
pyjwt = "^2.10.1"
|
|
cryptography = "^45.0.4"
|
|
celery = "^5.5.3"
|
|
redis = "^6.2.0"
|
|
watchdog = "^6.0.0"
|
|
apprise = "^1.9.3"
|
|
opentelemetry-api = "^1.36.0"
|
|
opentelemetry-sdk = "^1.36.0"
|
|
opentelemetry-exporter-prometheus = "^0.57b0"
|
|
opentelemetry-instrumentation-fastapi = "^0.57b0"
|
|
opentelemetry-instrumentation-sqlalchemy = "^0.57b0"
|
|
mysqlclient = "^2.2.7"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
ipdb = "^0.13.13"
|
|
jupyterlab = "^4.4.7"
|
|
podman-compose = "^1.5.0"
|
|
pytest = "^8.0.0"
|
|
pytest-asyncio = "^0.23.0"
|
|
pytest-cov = "^4.1.0"
|
|
httpx = "^0.27.0"
|
|
aioresponses = "^0.7.6"
|
|
fakeredis = "^2.21.0"
|
|
mypy = "^1.8.0"
|
|
types-requests = "^2.31.0"
|
|
types-redis = "^4.6.0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.ruff]
|
|
# List of rules (error codes) to ignore
|
|
lint.ignore = [
|
|
"E741", # Ambigious name
|
|
]
|
|
exclude = ["*.ipynb"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
warn_return_any = true
|
|
warn_unused_ignores = true
|
|
disallow_untyped_defs = true
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
strict_optional = true
|
|
plugins = ["pydantic.mypy"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["transformers.*", "pytesseract.*", "cv2.*", "celery.*", "tqdm.*", "aiohttp.*", "aiohttp_socks.*", "tenacity.*", "geopy.*", "pandas.*", "numpy.*", "PIL.*", "sqlmodel.*", "sqlalchemy.*", "alembic.*", "apprise.*", "opentelemetry.*"]
|
|
ignore_missing_imports = true |