stackmachine 0.2.1__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,12 @@
1
+ dist
2
+ build
3
+ node_modules
4
+ *.egg-info
5
+ *.py[cod]
6
+ __pycache__
7
+ .mypy_cache
8
+ .pytest_cache
9
+ .ruff_cache
10
+ .venv
11
+
12
+ .env
@@ -0,0 +1,42 @@
1
+ Metadata-Version: 2.4
2
+ Name: stackmachine
3
+ Version: 0.2.1
4
+ Summary: Python SDK for StackMachine.
5
+ Project-URL: Homepage, https://github.com/stackmachine/sdks/tree/main/python
6
+ Project-URL: Repository, https://github.com/stackmachine/sdks
7
+ Project-URL: Issues, https://github.com/stackmachine/sdks/issues
8
+ Classifier: Development Status :: 2 - Pre-Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Typing :: Typed
16
+ Requires-Python: >=3.9
17
+ Description-Content-Type: text/markdown
18
+
19
+ # StackMachine Python SDK
20
+
21
+ Python SDK for StackMachine.
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ uv add stackmachine
27
+ ```
28
+
29
+ ## Status
30
+
31
+ This package currently contains the initial Python SDK scaffold. The public API implementation will be added in a follow-up release.
32
+
33
+ ## Manual Publish
34
+
35
+ Use this path for the first package upload before PyPI Trusted Publishing is configured:
36
+
37
+ ```bash
38
+ cd python
39
+ uv sync --dev
40
+ uv build --no-sources
41
+ uv publish
42
+ ```
@@ -0,0 +1,24 @@
1
+ # StackMachine Python SDK
2
+
3
+ Python SDK for StackMachine.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ uv add stackmachine
9
+ ```
10
+
11
+ ## Status
12
+
13
+ This package currently contains the initial Python SDK scaffold. The public API implementation will be added in a follow-up release.
14
+
15
+ ## Manual Publish
16
+
17
+ Use this path for the first package upload before PyPI Trusted Publishing is configured:
18
+
19
+ ```bash
20
+ cd python
21
+ uv sync --dev
22
+ uv build --no-sources
23
+ uv publish
24
+ ```
@@ -0,0 +1,45 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.26"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "stackmachine"
7
+ version = "0.2.1"
8
+ description = "Python SDK for StackMachine."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ dependencies = []
12
+ classifiers = [
13
+ "Development Status :: 2 - Pre-Alpha",
14
+ "Intended Audience :: Developers",
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Python :: 3.9",
17
+ "Programming Language :: Python :: 3.10",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Typing :: Typed",
21
+ ]
22
+
23
+ [project.urls]
24
+ Homepage = "https://github.com/stackmachine/sdks/tree/main/python"
25
+ Repository = "https://github.com/stackmachine/sdks"
26
+ Issues = "https://github.com/stackmachine/sdks/issues"
27
+
28
+ [dependency-groups]
29
+ dev = [
30
+ "pytest>=8.0",
31
+ ]
32
+
33
+ [tool.hatch.build.targets.wheel]
34
+ packages = ["src/stackmachine"]
35
+
36
+ [tool.hatch.build.targets.sdist]
37
+ include = [
38
+ "/README.md",
39
+ "/pyproject.toml",
40
+ "/src",
41
+ "/tests",
42
+ ]
43
+
44
+ [tool.pytest.ini_options]
45
+ testpaths = ["tests"]
@@ -0,0 +1,10 @@
1
+ """StackMachine Python SDK."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ try:
6
+ __version__ = version("stackmachine")
7
+ except PackageNotFoundError:
8
+ __version__ = "0.0.0"
9
+
10
+ __all__ = ["__version__"]
@@ -0,0 +1,7 @@
1
+ from importlib.metadata import version
2
+
3
+ import stackmachine
4
+
5
+
6
+ def test_version_matches_package_metadata():
7
+ assert stackmachine.__version__ == version("stackmachine")