-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (116 loc) · 3.33 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (116 loc) · 3.33 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
120
121
122
123
124
125
126
127
[build-system]
requires = [
"setuptools>=74.0.0",
"setuptools_scm[toml]>=8.0",
"Cython==3.0.11",
"wheel>=0.44.0",
"setuptools-rust>=1.10.2",
"pip>=24.3.1"
]
build-backend = "setuptools.build_meta"
[project]
name = "python-datamodel"
dynamic = ["version"]
description = "simple library based on python +3.8 to use Dataclass-syntax for interacting with Data"
authors = [
{name = "Jesus Lara", email = "jesuslarag@gmail.com"}
]
readme = "README.md"
license = {text = "BSD"}
requires-python = ">=3.10.0"
keywords = ["asyncio", "dataclass", "dataclasses", "data models"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: AsyncIO",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"Environment :: Web Environment",
]
dependencies = [
"numpy>=1.26.4",
"uvloop>=0.21.0; sys_platform != 'win32'",
"asyncio==3.4.3",
"faust-cchardet==2.1.19",
"ciso8601==2.3.2",
"objectpath==0.6.1",
"orjson>=3.10.11",
"typing_extensions>=4.9.0",
"asyncpg>=0.29.0",
"python-dateutil>=2.8.2",
"python-slugify==8.0.1",
"psycopg2-binary==2.9.10",
"msgspec==0.19.0"
]
[project.urls]
Homepage = "https://github.com/phenobarbital/python-datamodel"
Source = "https://github.com/phenobarbital/python-datamodel"
Tracker = "https://github.com/phenobarbital/python-datamodel/issues"
Documentation = "https://datamodel.readthedocs.io/en/latest/"
Funding = "https://paypal.me/phenobarbital"
"Say Thanks!" = "https://saythanks.io/to/phenobarbital"
[tool.setuptools]
license-files = ["LICENSE"]
packages = ["datamodel"]
include-package-data = true
[tool.setuptools.package-data]
"datamodel.fields" = ["*.pyx"]
"datamodel.converters" = ["*.pyx"]
"datamodel.validation" = ["*.pyx"]
"datamodel.exceptions" = ["*.pxd", "*.pyx"]
"datamodel.functions" = ["*.pxd", "*.pyx"]
"datamodel.libs.mapping" = ["*.pxd", "*.pyx"]
"datamodel.typedefs.singleton" = ["*.pxd", "*.pyx"]
"datamodel.typedefs.types" = ["*.pxd", "*.pyx"]
"datamodel.parsers.json" = ["*.pyx"]
[tool.setuptools.dynamic]
version = {attr = "datamodel.version.__version__"}
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.uv]
override-dependencies = [
"setuptools-rust>=1.10.2",
]
[tool.pytest.ini_options]
addopts = [
"--strict-config",
"--strict-markers",
]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
filterwarnings = [
"error",
]
markers = [
"asyncio: mark a test as a coroutine that should be run by pytest-asyncio",
]