Skip to main content
Pre-release

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

trajectorylearning

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 trajectorylearning==0.1.0a1
trajectorylearning 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 trajectorylearning 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 trajectorylearning is also supported. The API may change during alpha development. Licensed under MIT; see LICENSE.

Metadata

Release files for trajectorylearning 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 trajectorylearning 0.1.0a1
File Size Uploaded Provenance Actions
trajectorylearning-0.1.0a1.tar.gz 3.8 kB Without provenance Details for trajectorylearning-0.1.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / trajectorylearning-0.1.0a1.tar.gz

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

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

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

Security for trajectorylearning 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