forked from e2nIEE/pandapower
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (108 loc) · 3.67 KB
/
Copy pathpyproject.toml
File metadata and controls
119 lines (108 loc) · 3.67 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
[build-system]
requires = ["build", "wheel", "setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "pandapower"
dynamic = ["version"]
authors = [
{ name = "Leon Thurner", email = "leon.thurner@retoflow.de" },
{ name = "Alexander Scheidler", email = "alexander.scheidler@iee.fraunhofer.de" },
{ name = "Mike Vogt", email = "mike.vogt@iee.fraunhofer.de"}
]
maintainers = [
{ name = "pandapower Developers", email = "info@pandapower.org" }
]
description = "An easy to use open source tool for power system modeling, analysis and optimization with a high degree of automation."
readme = "README.rst"
license-files = ["LICENSE", "AUTHORS"]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
# Add the specific Python versions supported here, e.g.:
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"pandas>=1.0",
"networkx>=2.5",
"scipy",
"numpy",
"packaging",
"tqdm",
"deepdiff",
"geojson",
"lxml",
"typing_extensions~=4.9",
]
keywords = [
"power system", "network", "analysis", "optimization", "automation", "grid", "electricity", "energy", "engineering", "simulation", "pandapower"
]
[project.urls]
Homepage = "https://www.pandapower.org"
Documentation = "https://pandapower.readthedocs.io"
Source = "https://www.github.com/e2nIEE/pandapower"
Repository = "https://www.github.com/e2nIEE/pandapower.git"
Issues = "https://www.github.com/e2nIEE/pandapower/issues"
Download = "https://pypi.org/project/pandapower/#files"
Changelog = "https://github.com/e2nIEE/pandapower/blob/develop/CHANGELOG.rst"
[project.optional-dependencies]
docs = ["numpydoc>=1.5.0", "matplotlib", "sphinx>=5.3.0", "sphinx_rtd_theme>=1.1.1", "sphinx-pyproject"]
plotting = ["plotly>=3.1.1", "matplotlib", "igraph", "geopandas>=1.0"]
test = ["pytest~=8.1", "pytest-xdist", "nbmake"]
performance = ["ortools", "numba>=0.60.0", "lightsim2grid~=0.10.1"]
fileio = ["xlsxwriter", "openpyxl", "cryptography", "geopandas>=1.0", "psycopg2"]
converter = ["matpowercaseframes"]
pgm = ["power-grid-model-io"]
control = ["shapely"]
typing = ["mypy", "pandas-stubs", "types-shapely", "types-psycopg2", "types-openpyxl", "types-networkx", "types-tqdm"]
all = ["pandapower[docs,plotting,test,performance,fileio,converter,pgm,control,typing]"]
# "shapely", "pyproj", "Pyogrio" are dependencies of geopandas and should be already available ("Fiona" got dropped)
# "hashlib", "zlib", "base64" produce install problems, so they are not included
[tool.setuptools.dynamic]
version = {attr = "pandapower._version.__version__"}
[tool.setuptools.packages.find]
include = [
"pandapower*",
]
exclude = [
"pandapower.test*",
]
[tool.setuptools.package-data]
"*" = [
"*.p",
"*.m",
"*.mat",
"*.json",
"*.jl",
"*.csv"
]
[tool.pytest.ini_options]
addopts = ["--strict-markers"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"'), e.g. in run_fast_tests"
]
[tool.coverage.run]
omit = [
"pandapower/test/*"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"if __name__ == .__main__.:"
]
# styeling information for black formatter
[tool.black]
line-length = 120