first commit

This commit is contained in:
felix
2025-10-18 10:54:08 +08:00
commit a35818e359
194 changed files with 20216 additions and 0 deletions

89
pyproject.toml Executable file
View File

@@ -0,0 +1,89 @@
[project]
name = "app"
description = """
A RBAC (Role-Based Access Control) permission control system built on FastAPI, featuring a unique pseudo-three-tier
architecture design, with built-in basic implementation of fastapi admin as a template library, free and open-source.
"""
authors = [
{ name = "Felix", email = "hengzone@outlook.com" },
]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
dynamic = ['version']
dependencies = [
"aiofiles>=24.1.0",
"aiosmtplib>=4.0.2",
"alembic>=1.16.5",
"asgi-correlation-id>=4.3.4",
"asgiref>=3.9.1",
"asyncmy>=0.2.10",
"asyncpg>=0.30.0",
"apscheduler==3.11.0",
"bcrypt>=4.3.0",
"cappa>=0.30.0",
"cryptography>=45.0.6",
"dulwich>=0.24.1",
"fast-captcha>=0.3.2",
"fastapi-limiter>=0.1.6",
"fastapi-pagination>=0.14.0",
"fastapi[standard-no-fastapi-cloud-cli]>=0.116.1",
"fastapi-utilities==0.3.1",
"flower>=2.0.1",
"gevent>=25.8.2",
"granian>=2.5.1",
"ip2loc>=1.0.0",
"itsdangerous>=2.2.0",
"jinja2>=3.1.6",
"loguru>=0.7.3",
"msgspec>=0.19.0",
"psutil>=7.0.0",
"psycopg[binary]>=3.2.9",
"pwdlib>=0.2.1",
"pydantic>=2.11.7",
"pydantic-settings>=2.10.1",
"pymysql>=1.1.1",
"python-jose>=3.5.0",
"python-socketio>=5.13.0",
"pycrypto==2.6.1",
"redis[hiredis]>=6.4.0",
"rtoml>=0.12.0",
"sqlalchemy-crud-plus>=1.11.0",
"sqlalchemy[asyncio]>=2.0.43",
"sqlparse>=0.5.3",
"user-agents>=2.2.0",
]
[dependency-groups]
dev = [
"pytest>=8.4.0",
"pytest-sugar>=1.1.1",
]
lint = [
"pre-commit>=4.3.0",
]
server = [
"aio-pika>=9.5.7",
"wait-for-it>=2.3.0",
]
[tool.uv]
python-downloads = "manual"
default-groups = ["dev", "lint"]
[[tool.uv.index]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple"
[tool.hatch.build.targets.wheel]
packages = ["backend"]
[tool.hatch.version]
path = "backend/__init__.py"
[project.scripts]
myapp = "backend.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"