-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (117 loc) · 3.62 KB
/
pyproject.toml
File metadata and controls
130 lines (117 loc) · 3.62 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
[build-system]
requires = ["hatchling >= 1.26.0", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "mstrio/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/code_snippets",
"/script-templates",
"/mstrio",
"/workflows",
"/NEWS.md",
"/README.md",
"/USAGE.md",
"/setup.cfg",
]
[tool.hatch.build.targets.wheel]
packages = ["mstrio"]
[project]
name = "mstrio-py"
description = "Python interface for the Strategy One REST API"
authors = [{ name = "Strategy One", email = "bkaczynski@strategy.com" }]
requires-python = ">=3.10,<3.15"
license = "LicenseRef-Proprietary"
license-files = ["LICENSE"]
readme = "README.md"
dynamic = ["version"]
classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: System Administrators",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]
# FYI: when changing this section, make sure to update `[strict]` deps below
dependencies = [
"packaging >= 24.2",
# FYI: <https://github.com/pandas-dev/pandas/blob/fa5c2550e81c3e745eb7948b56adac45454853d5/pyproject.toml#L60>
"pandas[output-formatting,pyarrow] >= 2; python_version < '3.14'",
"pandas[output-formatting,pyarrow] >= 2.3.3; python_version >= '3.14'",
"pyhumps >= 3.8",
"pypika >= 0.48.9",
"requests >= 2.32.3",
"requests-futures >= 1",
"stringcase >= 1.2",
"tqdm >= 4.66.4",
"typing-extensions >= 4.15",
]
# FYI: do not apply versioning to any dev-deps here - add them in `dev_constraints.txt`
[project.optional-dependencies]
# subsets of deps: mainly for `tox` deps use
config = ["pipdeptree"]
docs = [
"enum-tools[sphinx]",
"m2r2",
"mistune",
"recommonmark",
"Sphinx",
"sphinx-autodoc-typehints",
]
jupyter = ["jupyterlab", "jupyterlab-scenes"]
lint = ["black", "flake8", "flake8-black", "yapf"]
pre-commit = ["codespell", "isort", "mstrio-py[lint]", "pre-commit"]
test = ["coverage", "flaky", "nose", "pytest", "pytest-cov", "python-decouple"]
# templates of deps: mainly for actual development
dev = [
"mypy",
"python-dotenv[cli]",
"tox",
"mstrio-py[lint,pre-commit,test]",
"virtualenv",
]
all = ["mstrio-py[config,docs,jupyter,lint,pre-commit,test,dev]"]
[project.urls]
"Bug Tracker" = "https://github.com/MicroStrategy/mstrio-py/issues"
"Documentation" = "https://www2.microstrategy.com/producthelp/Current/mstrio-py/"
"Source Code" = "https://github.com/MicroStrategy/mstrio-py"
"Quick Manual" = "https://www2.microstrategy.com/producthelp/Current/Workstation/en-us/Content/intro_scripts.htm"
[tool.isort]
profile = "black"
extend_skip = ["__init__.py"]
[tool.coverage.run]
omit = ["mstrio/api/*"]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def _",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
omit = ["mstrio/api/*", "mstrio/utils/datasources.py"]
show_missing = true
[tool.black]
target-version = ["py310"]
skip-string-normalization = true
extend-exclude = '''
/(
| __pycache__
| code_snippets
| script-templates
| workflows
| validation_scripts
| .tox
)/
'''