summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-07-01 09:42:39 +0400
committerEthan Werner <mail@ethanwerner.com>2026-07-01 09:42:39 +0400
commit07e18043145f3d91c8ea7ec3ad41b3c905585277 (patch)
tree2bdeae46973f4bdfce263679a4008ac768011f28 /python
initial commit: ts time series analysis library v0.1.0
- 354 financial and mathematical time-series indicators - Uniform C11 API with consistent function signatures - 349 passing tests with -Werror - Static and shared library builds - pkg-config integration - Python bindings - Fuzzing and sanitizer support - Security hardening flags
Diffstat (limited to 'python')
-rw-r--r--python/pyproject.toml36
-rw-r--r--python/ts/py.typed0
2 files changed, 36 insertions, 0 deletions
diff --git a/python/pyproject.toml b/python/pyproject.toml
new file mode 100644
index 0000000..2eed6ce
--- /dev/null
+++ b/python/pyproject.toml
@@ -0,0 +1,36 @@
+[build-system]
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "ts-bindings"
+version = "0.1.0"
+description = "Python bindings for the ts (time series) C library"
+authors = [{name = "Ethan Werner"}]
+requires-python = ">=3.9"
+license = {text = "MIT"}
+classifiers = [
+ "Development Status :: 3 - Alpha",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Topic :: Office/Business :: Financial",
+ "Topic :: Scientific/Engineering :: Mathematics",
+]
+dependencies = [
+ "numpy>=1.21,<3.0",
+]
+
+[project.urls]
+Homepage = "https://github.com/ethanwerner/ts"
+Repository = "https://github.com/ethanwerner/ts"
+
+[tool.setuptools.packages.find]
+include = ["ts*"]
+
+[tool.setuptools.package-data]
+ts = ["py.typed", "libts.so"]
diff --git a/python/ts/py.typed b/python/ts/py.typed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/python/ts/py.typed