Skip to main content

xian-tech-runtime-types

Shared deterministic runtime types for the Xian stack.

Contents

  • decimal.py: fixed-precision ContractingDecimal and decimal bounds
  • time.py: deterministic Datetime and Timedelta
  • collections.py: deterministic set and frozenset implementations
  • encoding.py: JSON encoding/decoding for runtime storage values

These types are used by xian-contracting and other packages that need the same deterministic value semantics without importing the full contract runtime.

The encoder and convert_dict normalize nested lists and dictionaries recursively. Large integers use __big_int__ at every depth; booleans retain their JSON type.

Validation

The package is covered by the root test suite:

uv run pytest -q tests/unit/test_decimal.py tests/unit/test_datetime.py \
  tests/unit/test_timedelta.py tests/unit/test_contracting_collections.py \
  tests/unit/test_encode.py

Metadata

Release files for xian-tech-runtime-types 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xian-tech-runtime-types 0.1.5
File Size Uploaded Provenance Actions
xian_tech_runtime_types-0.1.5.tar.gz 8.0 kB With provenance Details for xian_tech_runtime_types-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xian-tech-runtime-types 0.1.5
File Interpreter ABI Platform Actions
xian_tech_runtime_types-0.1.5-py3-none-any.whl Python 3 none any Details for xian_tech_runtime_types-0.1.5-py3-none-any.whl

Total release size: 16.8 kB

Release files / xian_tech_runtime_types-0.1.5.tar.gz

Download URL xian_tech_runtime_types-0.1.5.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f26b11b3d58a40ca2e7536d0a76e92f982040349c6cd1f433a1956a31fb73923
BLAKE2b-256 checksum
How to use checksums
261e892c284a958f0e229755f06e8302f32a8ef4bcdd5f4c84a903e5ee20ceed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release files / xian_tech_runtime_types-0.1.5-py3-none-any.whl

Download URL xian_tech_runtime_types-0.1.5-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b62775b6275661c61708f04b02b162691158a364a98b374e161d0281ac77adf4
BLAKE2b-256 checksum
How to use checksums
5e808b105198d7f65053897b015882899856347b094c9884522bb63ee9e75e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Security for xian-tech-runtime-types 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for xian_tech_runtime_types-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page