Skip to main content

Error Detecting/Correcting Codes

Project description

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))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

errcode-0.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

errcode-0.1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file errcode-0.1.0.tar.gz.

File metadata

  • Download URL: errcode-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for errcode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 760328c2ded9badeee768a5e6cab73e79d457fdbded422347745bf58ff6e6fb3
MD5 7a6fa085cc87bcaf45b5a7ff5a7e910f
BLAKE2b-256 350faca1e590787fae6fd6d8e663fb8b670634da0af1463d7abad552038940cb

See more details on using hashes here.

File details

Details for the file errcode-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: errcode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for errcode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a788514f1485bc7b8e9449cfc01386dc6b759568c7e0287880fe7dadfa9de0ab
MD5 9f01e483eb96242fd6ab66ea073eafc1
BLAKE2b-256 4d7676e2e9a5a541a146c3e0ee774ab3370b2ff7f1e664ed991300f831e8af80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page