Skip to main content

octet

Object-oriented way to represent digital sizes (bits and bytes)

Examples

>>> from octet import *
>>> GiB(1024).convert_to(TiB)
TebiByte(1)
>>> size = 1024 * KiB()
>>> size.to_minor_units()
bit(8388608)
>>> KiB(1) > 1000 * B()
True
>>> KiB(1) > 1025 * B()
False

Metadata

Release files for octet 0.1.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 octet 0.1.1
File Size Uploaded Provenance
octet-0.1.1.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for octet 0.1.1
File Interpreter ABI Platform
octet-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / octet-0.1.1.tar.gz

Download URL octet-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cb64a3548bbd3625db15c0d7f594717379a155eab52c5c79b8d4c7c28f8f769e
BLAKE2b-256 checksum
How to use checksums
486c7dacb44f67a2b63a52a2c2f89267f8d0ead247164c8dc9bea123edaf70d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.7 Linux/5.19.0-29-generic

Release files / octet-0.1.1-py3-none-any.whl

Download URL octet-0.1.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c31a00a0a94cd57af77602e9f04a98fdd7ec37fe42f5366ad065b24111f9f47
BLAKE2b-256 checksum
How to use checksums
334cab4e3e7a4da8d763212d9c2bae539b4943150eaa35e63be17ad8f27a2197
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.7 Linux/5.19.0-29-generic

Security for octet 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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