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.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zootella_ergo-0.1.3.tar.gz | 36.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zootella_ergo-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.6 kB
Release files / zootella_ergo-0.1.3.tar.gz
| Download URL | zootella_ergo-0.1.3.tar.gz |
|---|---|
| Size | 36.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b058f6620b65d64520fad847eae130a6f6852e5aa4560b39a8070344356dee83
|
|
BLAKE2b-256 checksum How to use checksums |
d5b7916554f9ba653766d20c7f99c4ca499e1a9a06878cb73b32b061834f95ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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.1.3-py3-none-any.whl
| Download URL | zootella_ergo-0.1.3-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c504ebb0ab79cf38f2ef82cee59281162c9b573df4e1cae148815c33a794adf
|
|
BLAKE2b-256 checksum How to use checksums |
17413ee0cd1689e61c79e88dc0ec4a403b018a789ec6c28354fdf631f71c2565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","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.1.3
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.