Skip to main content

errcode: A Toolbox for Error Correcting/Detecting Codes

errcode is a package for classical error-correcting codes and error-detecting codes.

API

max_size(arity:int|list[int]=2, repeat:int=1, direction:int|list[int]=1, correct:int=0, detect:Optional[int]=None) -> int|range

Usage Examples

from errcode import max_size
print(max_size(arity=2, repeat=6, correct=4))
print(max_size(arity=[5, -3, 4], detect=1))

Metadata

Release files for errcode 0.1.0

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

Source distribution (sdist)

Source distribution for errcode 0.1.0
File Size Uploaded Provenance
errcode-0.1.0.tar.gz 10.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 20.0 kB

Release files / errcode-0.1.0.tar.gz

Download URL errcode-0.1.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
760328c2ded9badeee768a5e6cab73e79d457fdbded422347745bf58ff6e6fb3
BLAKE2b-256 checksum
How to use checksums
350faca1e590787fae6fd6d8e663fb8b670634da0af1463d7abad552038940cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / errcode-0.1.0-py3-none-any.whl

Download URL errcode-0.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a788514f1485bc7b8e9449cfc01386dc6b759568c7e0287880fe7dadfa9de0ab
BLAKE2b-256 checksum
How to use checksums
4d7676e2e9a5a541a146c3e0ee774ab3370b2ff7f1e664ed991300f831e8af80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for errcode 0.1.0

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.0 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