-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (125 loc) · 3.86 KB
/
pyproject.toml
File metadata and controls
141 lines (125 loc) · 3.86 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[project]
name = "dot-ring"
dynamic = ["version"]
description = "Serves as a library to generate and verify a signature using IETF, Pedersen and Ring VRF-AD Schemes"
authors = [
{name = "prasad-kumkar", email = "prasad@chainscore.finance"}
]
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
keywords = [
"VRF", "VRF-AD", "IETF VRF", "Pedersen VRF",
"Ring Proof", "Ring VRF", "Signature", "Proof",
"Verify", "Cryptography", "Zero Knowledge",
"PCS", "KZG", "FFT", "Polynomial",
"Interpolation","Ring Root", "Commitment", "Constraints",
"fflonk", "powers of tau", "string to point", "point to string",
"encode to curve","public key", "elliptic curve cryptography", "proof to hash",
"bls12_381", "Bandersnatch", "fiat shamir", "pairings"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Networking",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Database",
"Topic :: Utilities",
"Topic :: System :: Archiving",
"Topic :: Communications",
"Typing :: Typed"
]
dependencies = [
"numpy>=2.2.3",
"sympy>=1.13.1",
"pytest>=8.3.5",
"py-ecc>=8.0.0",
"gmpy2>=2.1.0"
]
[tool.setuptools.packages.find]
include = ["dot_ring*"]
exclude = ["tests*", "blst*", "perf*", "testenv*"]
[tool.setuptools.package-data]
dot_ring = [
"py.typed",
"vrf/data/*.bin",
"ring_proof/columns/*.json",
"blst/*.so",
"blst/*.dylib",
"blst/*.dll",
"blst/*.pyd",
]
[tool.setuptools_scm]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"pytest-benchmark>=4.0.0",
"Cython>=3.0.0",
"build>=1.0.0",
"setuptools>=65.0.0",
"wheel>=0.38.0"
]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
filterwarnings = [
"ignore:.*SwigPy.*:DeprecationWarning",
"ignore:.*swigvarlink.*:DeprecationWarning"
]
[tool.pyright]
include = ["dot_ring", "tests", "scripts"]
pythonVersion = "3.12"
pythonPlatform = "All"
typeCheckingMode = "basic"
reportMissingImports = false
reportMissingTypeStubs = false
extraPaths = ["."]
[project.urls]
Homepage = "https://github.com/chainscore/dot-ring"
Repository = "https://github.com/chainscore/dot-ring"
Issues = "https://github.com/chainscore/dot-ring/issues"
Documentation = "https://github.com/chainscore/dot-ring#readme"
[build-system]
requires = ["setuptools>=65.0.0,<77.0.0", "wheel", "Cython>=3.0.0", "setuptools_scm>=8.0"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"cython>=3.2.1",
"pytest-benchmark>=5.2.3",
"setuptools>=80.9.0",
]
[tool.ruff]
line-length = 150
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["UP046"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
exclude = ["build/"]
[[tool.mypy.overrides]]
module = ["dot_ring.curve.field_arithmetic", "dot_ring.curve.fast_math", "dot_ring.ring_proof.polynomial.ntt", "dot_ring.ring_proof.polynomial.poly_ops", "dot_ring.blst.*", "py_ecc.*"]
ignore_missing_imports = true
disallow_untyped_defs = false
check_untyped_defs = false
disable_error_code = ["attr-defined", "import-not-found", "no-redef"]
[[tool.mypy.overrides]]
module = ["pytest", "setuptools", "setuptools.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["tests.*", "scripts.*"]
disallow_untyped_defs = false
warn_return_any = false
disable_error_code = ["misc", "arg-type", "var-annotated"]