mantis-tsf 0.1.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ # IDE files
2
+ .vscode/
3
+
4
+ # Python-generated files
5
+ __pycache__/
6
+ *.py[oc]
7
+ build/
8
+ dist/
9
+ wheels/
10
+ *.egg-info
11
+ .pytest_cache/
12
+ .python-version
13
+
14
+ # Virtual environments
15
+ .venv
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.5
2
+ Name: mantis-tsf
3
+ Version: 0.1.8
4
+ Summary: Time Series Facility for MANTIS
5
+ Author-email: Louis Zhuang <louis.zhuang@acm.org>
6
+ Requires-Python: >=3.14
7
+ Requires-Dist: pyiceberg>=0.12.0
File without changes
@@ -0,0 +1,18 @@
1
+ [project]
2
+ name = "mantis-tsf"
3
+ dynamic = ["version"]
4
+ description = "Time Series Facility for MANTIS"
5
+ readme = "README.md"
6
+ authors = [{ name = "Louis Zhuang", email = "louis.zhuang@acm.org" }]
7
+ requires-python = ">=3.14"
8
+ dependencies = ["pyiceberg>=0.12.0"]
9
+
10
+ [project.scripts]
11
+ tsf = "mantis_tsf:main"
12
+
13
+ [build-system]
14
+ requires = ["hatchling", "uv-dynamic-versioning"]
15
+ build-backend = "hatchling.build"
16
+
17
+ [tool.hatch.version]
18
+ source = "uv-dynamic-versioning"
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("Hello from mantis-tsf!")
@@ -0,0 +1,21 @@
1
+ """Smoke tests for the installed time-series console entry point."""
2
+
3
+ from importlib.metadata import distribution
4
+
5
+ import mantis_tsf
6
+ import pytest
7
+
8
+
9
+ def test_console_entry_point_runs(capsys: pytest.CaptureFixture[str]) -> None:
10
+ entry_points = distribution("mantis-tsf").entry_points.select(
11
+ group="console_scripts", name="tsf"
12
+ )
13
+
14
+ assert len(entry_points) == 1
15
+ main = next(iter(entry_points)).load()
16
+ assert main is mantis_tsf.main
17
+ assert main() is None
18
+
19
+ captured = capsys.readouterr()
20
+ assert captured.out.strip()
21
+ assert captured.err == ""