-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (85 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (85 loc) · 2.65 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
[build-system]
requires = ["setuptools>=64.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "random-allocation"
version = "1.0.5"
authors = [
{name = "Moshe Shenfeld", email = "mosheshenfeld@gmail.com"},
]
description = "Tools for analyzing and comparing different sampling schemes in differential privacy"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
keywords = ["differential-privacy", "random-allocation", "privacy-analysis"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"dp_accounting>=0.5.0",
"numpy>=1.20.0,<2.2", # Ensure compatibility with numba
"scipy>=1.7.0",
"matplotlib>=3.4.0",
"numba>=0.60.0",
]
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"black>=21.0",
"flake8>=3.9",
"mypy>=1.0.0",
"types-setuptools",
]
examples = [
"ipykernel",
]
[project.urls]
"Homepage" = "https://github.com/moshenfeld/random_allocation"
"Bug Tracker" = "https://github.com/moshenfeld/random_allocation/issues"
[tool.setuptools]
packages = ["random_allocation", "random_allocation.comparisons", "random_allocation.examples", "random_allocation.external_sources", "random_allocation.other_schemes", "random_allocation.random_allocation_scheme"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_imports = false
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "random_allocation.*"
disallow_untyped_defs = false
disallow_incomplete_defs = false
[[tool.mypy.overrides]]
module = "random_allocation.external_sources.Monte_Carlo_external"
ignore_errors = true
[[tool.mypy.overrides]]
module = "random_allocation.external_sources.shuffle_external"
ignore_errors = true
[[tool.mypy.overrides]]
module = "random_allocation.*.*_external"
ignore_errors = true
[[tool.mypy.overrides]]
module = "numpy"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "scipy"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "matplotlib"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "dp_accounting"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "numba"
ignore_missing_imports = true