Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

causality-protocol

Version 0.1.0a1 is a standalone streaming JSON Lines reader and record counter. It reads ordinary JSON values without imposing a schema. This alpha does not implement learning, a memory protocol, or a model. Python 3.11 or later; no third-party dependencies.

python -m pip install causality-protocol==0.1.0a1
causality-protocol records.jsonl

For a UTF-8 file containing:

{"name": "Ada", "score": 3}
{"name": "Lin", "score": 5}

the command prints {"records": 2}. Use the Python API to process values:

from causality_protocol import iter_jsonl

for value in iter_jsonl("records.jsonl"):
    print(value)

Blank lines are skipped. Any JSON value is accepted, including objects, arrays, numbers, strings, booleans and null. Malformed records raise ValueError with the file path and physical line number. Non-standard NaN and Infinity literals are rejected. Values use Python's normal JSON decoding, including floating-point numbers; this is not an arbitrary-precision decoder. The file is read lazily, with memory proportional to the largest line. Filesystem and decoding errors propagate to Python callers; the command prints errors on stderr and exits 2.

python -m causality_protocol is also supported. The API may change during alpha development. Licensed under MIT; see LICENSE.

Metadata

Release files for causality-protocol 0.1.0a1

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

Source distribution (sdist)

Source distribution for causality-protocol 0.1.0a1
File Size Uploaded Provenance Actions
causality_protocol-0.1.0a1.tar.gz 3.8 kB Without provenance Details for causality_protocol-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for causality-protocol 0.1.0a1
File Interpreter ABI Platform Actions
causality_protocol-0.1.0a1-py3-none-any.whl Python 3 none any Details for causality_protocol-0.1.0a1-py3-none-any.whl

Total release size: 7.6 kB

Release files / causality_protocol-0.1.0a1.tar.gz

Download URL causality_protocol-0.1.0a1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b2d27e189c84e72beec2ef8a0ffc50666fee06cf37352edda56d7a2dd025f07
BLAKE2b-256 checksum
How to use checksums
7fabe393d2f3990eea2109c122e012a91c78c8e99f155144670fa57a58315cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / causality_protocol-0.1.0a1-py3-none-any.whl

Download URL causality_protocol-0.1.0a1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07659e2b51ed010cfb4d618b270907d8cea3f8b5b42f622197e5d7333be62b80
BLAKE2b-256 checksum
How to use checksums
4dfb4eaaa1a8e5ae9b9218544801c306763a5a04675e495c9a5af0639483cc15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for causality-protocol 0.1.0a1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release
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