-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
107 lines (92 loc) · 2.79 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
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["setuptools>=45", "setuptools-scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "metasyn"
authors = [
{ name = "Raoul Schram", email = "r.d.schram@uu.nl" },
{ name = "Erik-Jan van Kesteren", email = "e.vankesteren1@uu.nl" },
]
description = "Package for creating synthetic datasets while preserving privacy."
readme = "README.md"
requires-python = ">=3.8"
keywords = ["metadata", "open-data", "privacy", "synthetic-data", "tabular datasets"]
license = { file = "LICENSE" }
classifiers = [
"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",
"Programming Language :: Python :: 3.13",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"polars>=1",
"tqdm",
"numpy>=1.20",
"pyarrow", # Dependency of polars since we're converting from pandas.
"scipy",
"numpy>=1.20",
"faker",
"lingua-language-detector",
"regex",
"jsonschema",
"importlib-metadata;python_version<'3.10'",
"importlib-resources;python_version<'3.9'",
"tomli;python_version<'3.11'",
"regexmodel>=0.2.1"
]
dynamic = ["version"]
[project.urls]
GitHub = "https://github.com/sodascience/metasyn"
documentation = "https://metasyn.readthedocs.io/en/latest/index.html"
[project.optional-dependencies]
extra = ["xlsxwriter", "pandas", "tomlkit"]
check = ["ruff", "mypy", "types-tqdm", "types-regex"]
test = ["pytest", "nbval"]
docs = [
"sphinx<9.0.0", "sphinx-rtd-theme", "sphinxcontrib-napoleon",
"sphinx-autodoc-typehints", "sphinx_inline_tabs", "sphinx_copybutton",
]
dev = [
"metasyn[extra,check,test,docs]"
]
[project.scripts]
metasyn = "metasyn.__main__:main"
[project.entry-points."metasyn.distribution_provider"]
builtin = "metasyn.provider:BuiltinDistributionProvider"
[project.entry-points."metasyn.privacy"]
none = "metasyn.privacy:BasicPrivacy"
[tool.setuptools]
packages = ["metasyn"]
obsoletes = ["metasynth"]
[tool.setuptools_scm]
write_to = "metasyn/_version.py"
[[tool.mypy.overrides]]
module = [
"scipy.*",
"pandas.*",
"jsonschema.*",
"sklearn.*",
"importlib_metadata.*",
"importlib_resources.*",
"wget.*",
"lingua.*",
"tomllib.*",
]
ignore_missing_imports = true
[tool.ruff]
exclude = ["_version.py", "metasyn/distribution/legacy.*", "examples/*"]
line-length = 100
lint.select = ["E", "F", "W", "I", "N", "D", "PL", "ARG"]
lint.ignore = ["PLR2004", "D107", "D105", "D102"]
[tool.ruff.lint.pep8-naming]
ignore-names = ["a", "b", "mu"]
[tool.ruff.lint.pylint]
max-args=10
max-locals=35
[tool.ruff.lint.pydocstyle]
convention="numpy"