Skip to main content

zootella-ergo

Simple helper functions, the same in JavaScript, Python, Rust, and Go. This is the Python edition, on the standard library, plus the official blake3 package for BLAKE3.

uv add zootella-ergo
from zootella.ergo import (
    Data,
    Size,
    Time,
    say_size4,
    sha256,
    tag,
    tick_to_iso,
    tick_to_text,
)

t = tag()  # a new tag, like "AgKxru95C7jFp5iPuK9O7": 21 letters and numerals
buffer = bytearray(64 * Size.KB)  # a buffer of 64 kibibytes, rather than a bare 65536
say_size4(123456789)  # "117 MB": four digits or less, with a unit
deadline = now + 2 * Time.HOUR  # two hours after a tick, in milliseconds
tick_to_text(deadline)  # "2026oct15.2041.7125", a tick's short exact text
tick_to_iso(deadline)  # "2026-10-15T20:41:07.125Z", the same tick's iso text
d = Data(text="hello")  # bytes, out as base16, base32, base62, base64, or text
sha256(d).base32()  # the SHA-256 hash, as a Data; sha1 and blake3 the same

Documentation for every function, in all four languages, is at zootella.com. The source and the shared test suite are at github.com/zootella/ergo.

Metadata

Release files for zootella-ergo 0.2.1

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

Source distribution (sdist)

Source distribution for zootella-ergo 0.2.1
File Size Uploaded Provenance
zootella_ergo-0.2.1.tar.gz 47.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zootella-ergo 0.2.1
File Interpreter ABI Platform
zootella_ergo-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 80.6 kB

Release files / zootella_ergo-0.2.1.tar.gz

Download URL zootella_ergo-0.2.1.tar.gz
Size 47.8 kB
Tags Source
SHA-256 checksum
How to use checksums
be6bc092fb6a05cd765c7fcf44121b09c6a5572ca397b1527b3adc03438b678a
BLAKE2b-256 checksum
How to use checksums
b61ad890d22fde0bcb02085c7c15f4a144d71dd1fe7515efd69bb414f0c98e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / zootella_ergo-0.2.1-py3-none-any.whl

Download URL zootella_ergo-0.2.1-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fdd5b1ab629e678cf1e35c668c2a8d0bf96f2ffa97ac8b28fd4cbe88bd18666
BLAKE2b-256 checksum
How to use checksums
26cbb5690c97e85c565660c1019f7caa25e6368812d419f476c9b373c1ed8532
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for zootella-ergo 0.2.1

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.

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