-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (108 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
119 lines (108 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[project]
name = "pynest-api"
version = "0.6.0"
description = "PyNest is a FastAPI Abstraction for building microservices, influenced by NestJS."
authors = [
{ name = "itay.dar", email = "itay2803@gmail.com" },
]
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"click>=8.1.7,<9.0.0",
"injector>=0.22.0,<0.23.0",
"astor>=0.8.1,<0.9.0",
"pyyaml>=6.0.2,<7.0.0",
"fastapi>=0.115.4,<0.116.0",
"pydantic>=2.9.2,<3.0.0",
"uvicorn>=0.32.0,<0.33.0",
"black>=24.10.0,<25.0.0",
]
[project.optional-dependencies]
postgres = [
"sqlalchemy>=2.0.36,<3.0.0",
"asyncpg>=0.30.0,<0.31.0",
"psycopg2>=2.9.3,<3.0.0",
"alembic>=1.13.3,<2.0.0",
"greenlet>=3.1.1,<4.0.0",
"python-dotenv>=1.0.1,<2.0.0",
]
mongo = [
"beanie>=1.27.0,<2.0.0",
"python-dotenv>=1.0.1,<2.0.0",
]
test = [
"pytest>=7.0.1,<8.0.0",
]
[dependency-groups]
test = [
"pytest>=7.0.1,<8.0.0",
"httpx>=0.27.0,<1.0.0",
"sqlalchemy>=2.0.36,<3.0.0",
"motor>=3.2.0,<4.0.0",
"beanie>=1.27.0,<2.0.0",
"python-dotenv>=1.0.1,<2.0.0",
"aiosqlite>=0.19.0,<1.0.0",
"websockets>=13.0,<16.0",
]
docs = [
"mkdocs-material>=9.5.43,<10.0.0",
"mkdocstrings-python>=1.12.2,<2.0.0",
]
build = [
"build>=1.2.2.post1,<2.0.0",
"twine>=6.2.0,<7.0.0",
"git-changelog>=2.5.2,<3.0.0",
]
[project.urls]
Homepage = "https://github.com/PythonNest/PyNest"
Documentation = "https://pythonnest.github.io/PyNest/"
[project.scripts]
pynest = "nest.cli.cli:nest_cli"
[tool.hatch.build.targets.wheel]
packages = ["nest"]
[tool.hatch.build.targets.sdist]
include = [
"nest",
"tests",
"README.md",
"LICENSE",
"pyproject.toml",
]
[tool.poetry.group.dev.dependencies]
httpx = "^0.28.1"
[tool.black]
force-exclude = '''
/(
| /*venv*
| /.git
| /dist
| /pytest_compare.egg-info
| *.bac
| .mypy_cache
| .coverage
| /htmlcov
| /docs
| /site
)/
'''
[tool.mypy]
exclude = [
"/*venv*"
]
ignore_missing_imports = true