-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (119 loc) · 3.12 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (119 loc) · 3.12 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.24"]
build-backend = "hatchling.build"
[project]
name = "swisseph-ffi"
version = "1.0.0"
description = "Complete 100% 1:1 Python FFI Wrapper for the Swiss Ephemeris C Library - Direct C function calls with zero abstraction for maximum astronomical precision"
readme = "README.md"
requires-python = ">=3.10"
license = "AGPL-3.0-or-later"
authors = [
{ name = "Jayesh Mepani", email = "jayeshmepani777@gmail.com" }
]
keywords = [
"swiss-ephemeris",
"astrology",
"astronomy",
"ephemeris",
"ffi",
"ctypes",
"python-ffi",
"vedic-astrology",
"jyotish",
"horoscope",
"kundli",
"birth-chart",
"planetary-positions",
"ayanamsa",
"sidereal",
"tropical",
"houses",
"eclipse",
"zero-abstraction",
"zero-setup",
"cross-platform",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"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",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"ruff>=0.9.0",
"pyright>=1.1.390",
"pre-commit>=4.0.0",
"build>=1.0.0",
"twine>=4.0.0",
]
[project.urls]
Homepage = "https://github.com/jayeshmepani/Swiss-Ephemeris-Python"
Source = "https://github.com/jayeshmepani/Swiss-Ephemeris-Python"
Issues = "https://github.com/jayeshmepani/Swiss-Ephemeris-Python/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/swisseph_ffi"]
[tool.hatch.build.targets.sdist]
include = [
"src/swisseph_ffi",
"tests",
"scripts",
"README.md",
"VERSION.md",
"UPSTREAM_SYNC.md",
"CONTRIBUTING.md",
"LICENSE",
]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src/swisseph_ffi", "tests", "scripts"]
[tool.ruff.lint]
select = [
"E", "W",
"F",
"I",
"N",
"UP",
"B",
"C4",
"SIM",
"RET",
"RUF",
]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"src/swisseph_ffi/__init__.py" = ["F401", "F403"]
"src/swisseph_ffi/bindings.py" = ["E501", "RUF022"]
"src/swisseph_ffi/constants.py" = ["E501", "N816"]
"tests/*" = ["S101"]
[tool.pyright]
pythonVersion = "3.10"
typeCheckingMode = "standard"
reportMissingImports = true
reportMissingTypeStubs = false
reportUnknownMemberType = false
reportUnknownVariableType = false
reportUnknownArgumentType = false
include = ["src/swisseph_ffi", "tests", "scripts"]
exclude = ["**/__pycache__", ".venv", "build", "dist"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"