-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (83 loc) · 2.34 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "setuptools-rust", "maturin", "protobuf"]
build-backend = "maturin"
[project]
name = "ptars"
classifiers = [
"Programming Language :: Rust",
"Operating System :: POSIX :: Linux",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dependencies = [
'protobuf > 3',
"pyarrow > 15",
]
[tool.poetry]
name = "ptars"
version = "0.0.3"
description = "Convert from protobuf to arrow and back in rust"
authors = ["Tradewell Tech <[email protected]>"]
maintainers = ["0x26res <[email protected]>"]
packages = [{ include = "ptars", from = "python" }]
include = ["ptars/*", "ptarslib/*", "ptarslib/src/*"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/tradewelltech/ptars"
documentation = "https://ptars.readthedocs.io/en/latest/"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
]
keywords = ["apache-arrow", "protobuf", "data", "rust"]
[tool.poetry.dependencies]
python = ">=3.11,<4.0"
setuptools = "*"
maturin = "*"
pyarrow = "*"
protobuf = ">=3.20.1"
setuptools-rust = "^0.10.6"
[tool.poetry.group.dev.dependencies]
coverage = ">=6.5.0"
git-changelog = ">=2.2.0"
googleapis-common-protos = ">=1.53.0"
grpcio-tools = ">=1.46.0"
inflection = ">=0.5.1"
isort = ">=5.10.1"
maturin = "^1.3.1"
mkdocs = ">=1.4.2"
mkdocs-material = ">=9.0.3"
mkdocstrings = { version = ">=0.21.2", extras = ["python"] }
pip-tools = ">=6.12.1"
pre-commit = ">=2.20.0"
protarrow = "*"
pylint = ">=2.15.0"
pytest = ">=7.2.0"
pytest-benchmark = ">=4.0.0"
pytest-xdist = ">=3.1.0"
rooster-blue = ">=0.0.4"
ruff = "*"
[tool.maturin]
module-name = "ptars._lib"
bindings = "pyo3"
python-packages = ["ptars"]
python-source = "python"
exclude = ["python/test/**", ".**", "sdist/**", ".github/**"]
features = ["pyo3/extension-module"]
[tool.isort]
profile = "black"
src_paths = ["ptars", "tests"]
known_first_party = ["ptars", "ptars_protos"]
skip = [".gitignore"]
[tool.bandit]
skips = ["B101"]
[tool.ruff]
lint.select = ["E", "F", "C", "I"]
# ignore = ["E501", "C901"]
[tool.ruff.lint.isort]
known-first-party = ["ptars", "ptars_proto"]