File tree Expand file tree Collapse file tree 7 files changed +1857
-103
lines changed
src/fastapi_sqlalchemy_mysql Expand file tree Collapse file tree 7 files changed +1857
-103
lines changed Original file line number Diff line number Diff line change 1- # Byte-compiled / optimized / DLL files
21__pycache__ /
3- * .py [cod ]
4- * $py.class
5-
6- # C extensions
7- * .so
8-
9- # Distribution / packaging
10- .Python
11- build /
12- develop-eggs /
13- dist /
14- downloads /
15- eggs /
16- .eggs /
17- lib /
18- lib64 /
19- parts /
20- sdist /
21- var /
22- wheels /
23- * .egg-info /
24- .installed.cfg
25- * .egg
26- MANIFEST
27-
28- # PyInstaller
29- # Usually these files are written by a python script from a template
30- # before PyInstaller builds the exe, so as to inject date/other infos into it.
31- * .manifest
32- * .spec
33-
34- # Installer logs
35- pip-log.txt
36- pip-delete-this-directory.txt
37-
38- # Unit test / coverage reports
39- htmlcov /
40- .tox /
41- .coverage
42- .coverage. *
43- .cache
44- nosetests.xml
45- coverage.xml
46- * .cover
47- .hypothesis /
48- .pytest_cache /
49-
50- # Translations
51- * .mo
52- * .pot
53-
54- # PyBuilder
55- target /
56-
57- # pyenv
58- .python-version
592.idea /
60-
61- # celery beat schedule file
62- celerybeat-schedule
63- workspace.xml
64-
65- # SageMath parsed files
66- * .sage.py
67- .idea /workspace.xml
68-
69- # Environments
703.env
71- .venv
72- env /
4+ .venv /
735venv /
74- ENV /
75- env.bak /
76- venv.bak /
77-
78- # Rope project settings
79- .ropeproject
80-
81- # mypy
82- .mypy_cache /
83-
84- # log
856log /
86-
87- # alembic
887alembic /versions /
89-
90- # ruff
918.ruff_cache /
9+ .pdm-python
Original file line number Diff line number Diff line change 44 hooks :
55 - id : check-added-large-files
66 - id : end-of-file-fixer
7- - id : requirements-txt-fixer
87 - id : check-yaml
8+ - id : check-toml
99
1010 - repo : https://github.com/charliermarsh/ruff-pre-commit
11- rev : v0.3.3
11+ rev : v0.4.5
1212 hooks :
1313 - id : ruff
1414 args :
@@ -17,3 +17,14 @@ repos:
1717 - ' --fix'
1818 - ' --unsafe-fixes'
1919 - id : ruff-format
20+
21+ - repo : https://github.com/pdm-project/pdm
22+ rev : 2.12.4
23+ hooks :
24+ - id : pdm-export
25+ args :
26+ - ' -o'
27+ - ' requirements.txt'
28+ - ' --without-hashes'
29+ files : ^pdm.lock$
30+ - id : pdm-lock-check
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " fastapi_sqlalchemy_mysql"
3+ version = " 0.0.1"
4+ description = " Default template for PDM package"
5+ authors = [
6+ {name = " Wu Clan" , email = " jianhengwu0407@gmail.com" },
7+ ]
8+ dependencies = [
9+ " aiofiles==23.2.1" ,
10+ " aiosmtplib==3.0.1" ,
11+ " alembic==1.13.1" ,
12+ " asgiref==3.8.1" ,
13+ " asyncmy==0.2.9" ,
14+ " bcrypt==4.1.3" ,
15+ " cryptography==42.0.7" ,
16+ " email_validator==2.1.1" ,
17+ " fast-captcha==0.2.1" ,
18+ " fastapi[all]==0.111.0" ,
19+ " fastapi-limiter==0.1.6" ,
20+ " fastapi-pagination==0.12.24" ,
21+ " loguru==0.7.2" ,
22+ " passlib==1.7.4" ,
23+ " path==16.14.0" ,
24+ " pre-commit==3.7.1" ,
25+ " python-jose==3.3.0" ,
26+ " python-multipart==0.0.9" ,
27+ " redis[hiredis]==5.0.4" ,
28+ " SQLAlchemy==2.0.30" ,
29+ " tzdata==2024.1" ,
30+ " uvicorn[standard]==0.29.0" ,
31+ ]
32+ requires-python = " >=3.10"
33+ readme = " README.md"
34+ license = {text = " MIT" }
35+
36+ [tool .pdm .dev-dependencies ]
37+ lint = [
38+ " ruff>=0.4.2" ,
39+ ]
40+ deploy = [
41+ " supervisor>=4.2.5" ,
42+ " wait-for-it>=2.2.2" ,
43+ ]
44+
45+ [tool .pdm ]
46+ distribution = false
47+
48+ [tool .pdm .scripts ]
49+ lint = " pre-commit run --all-files"
Original file line number Diff line number Diff line change 1+ # This file is @generated by PDM.
2+ # Please do not edit it manually.
3+
14aiofiles == 23.2.1
2- aiosmtplib == 2.0.2
3- alembic == 1.12.1
4- asgiref == 3.7.2
5+ aiosmtplib == 3.0.1
6+ alembic == 1.13.1
7+ annotated-types == 0.7.0
8+ anyio == 4.3.0
9+ asgiref == 3.8.1
10+ async-timeout == 4.0.3 ; python_full_version < "3.11.3"
511asyncmy == 0.2.9
6- bcrypt == 4.0.1
7- cryptography == 41.0.7
8- email-validator == 2.0.0
12+ bcrypt == 4.1.3
13+ certifi == 2024.2.2
14+ cffi == 1.16.0 ; platform_python_implementation != "PyPy"
15+ cfgv == 3.4.0
16+ click == 8.1.7
17+ colorama == 0.4.6 ; sys_platform == "win32" or platform_system == "Windows"
18+ cryptography == 42.0.7
19+ distlib == 0.3.8
20+ dnspython == 2.6.1
21+ ecdsa == 0.19.0
22+ email-validator == 2.1.1
23+ exceptiongroup == 1.2.1 ; python_version < "3.11"
924fast-captcha == 0.2.1
10- fastapi == 0.110.0
25+ fastapi == 0.111.0
26+ fastapi-cli == 0.0.4
1127fastapi-limiter == 0.1.6
12- fastapi-pagination == 0.12.11
28+ fastapi-pagination == 0.12.24
29+ filelock == 3.14.0
30+ greenlet == 3.0.3 ; platform_machine == "win32" or platform_machine == "WIN32" or platform_machine == "AMD64" or platform_machine == "amd64" or platform_machine == "x86_64" or platform_machine == "ppc64le" or platform_machine == "aarch64"
31+ h11 == 0.14.0
32+ hiredis == 2.3.2
33+ httpcore == 1.0.5
34+ httptools == 0.6.1
35+ httpx == 0.27.0
36+ identify == 2.5.36
37+ idna == 3.7
38+ itsdangerous == 2.2.0
39+ jinja2 == 3.1.4
1340loguru == 0.7.2
41+ mako == 1.3.5
42+ markdown-it-py == 3.0.0
43+ markupsafe == 2.1.5
44+ mdurl == 0.1.2
45+ nodeenv == 1.8.0
46+ orjson == 3.10.3
1447passlib == 1.7.4
15- path == 15.1.2
16- pre-commit == 3.5.0
17- pydantic == 2.4.2
18- pydantic-settings == 2.0.3
48+ path == 16.14.0
49+ pillow == 9.5.0
50+ platformdirs == 4.2.2
51+ pre-commit == 3.7.1
52+ pyasn1 == 0.6.0
53+ pycparser == 2.22 ; platform_python_implementation != "PyPy"
54+ pydantic == 2.7.1
55+ pydantic-core == 2.18.2
56+ pydantic-extra-types == 2.7.0
57+ pydantic-settings == 2.2.1
58+ pygments == 2.18.0
59+ python-dotenv == 1.0.1
1960python-jose == 3.3.0
2061python-multipart == 0.0.9
21- redis [hiredis ]== 5.0.1
22- ruff == 0.3.3
23- SQLAlchemy == 2.0.28
62+ pyyaml == 6.0.1
63+ redis == 5.0.4
64+ rich == 13.7.1
65+ rsa == 4.9
66+ ruff == 0.4.5
67+ setuptools == 70.0.0
68+ shellingham == 1.5.4
69+ six == 1.16.0
70+ sniffio == 1.3.1
71+ sqlalchemy == 2.0.30
72+ starlette == 0.37.2
2473supervisor == 4.2.5
25- tzdata == 2023.3
26- uvicorn [standard ]== 0.24.0
74+ typer == 0.12.3
75+ typing-extensions == 4.12.0
76+ tzdata == 2024.1
77+ ujson == 5.10.0
78+ uvicorn == 0.29.0
79+ uvloop == 0.19.0 ; (sys_platform != "cygwin" and sys_platform != "win32" ) and platform_python_implementation != "PyPy"
80+ virtualenv == 20.26.2
2781wait-for-it == 2.2.2
82+ watchfiles == 0.21.0
83+ websockets == 12.0
84+ win32-setctime == 1.1.0 ; sys_platform == "win32"
You can’t perform that action at this time.
0 commit comments