Skip to main content
Pre-release

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

causality-ai

Version 0.1.0a1 is a small, standalone plain-text statistics utility. It reports character, word, and line counts. This alpha has no causal-inference or machine learning functionality. Python 3.11 or later; no third-party dependencies.

python -m pip install causality-ai==0.1.0a1
causality-ai notes.txt
printf 'hello world\n' | causality-ai -
from causality_ai import text_stats

assert text_stats("hello world\n") == {"characters": 12, "words": 2, "lines": 1}

Characters are Unicode code points, including newline characters, rather than bytes or displayed glyphs. Words are whitespace-separated tokens (str.split). Lines follow str.splitlines: empty text has zero lines and a trailing newline does not add an empty line. Files must be UTF-8; file bytes are decoded without newline conversion. The utility reads the whole text into memory.

The command prints a JSON object. Missing files or invalid UTF-8 produce an error on stderr and exit status 2. python -m causality_ai is also supported.

The API may change during alpha development. Licensed under MIT; see LICENSE.

Metadata

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

Built distribution (wheel)

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

Total release size: 7.0 kB

Release files / causality_ai-0.1.0a1.tar.gz

Download URL causality_ai-0.1.0a1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3d90e04058cc145286d84558f4399c6e2a748654f7572263e8cbd87eeff3956f
BLAKE2b-256 checksum
How to use checksums
f03e8e2af4fea71fdbc2b2321c31bc382cd9bef263f9038a1ae31d5c9eff2223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

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

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

Security for causality-ai 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