Skip to main content

Hamming code.

Library for hamming encode or decode.

Installation

  • Compile and install the library:

    pip3 install libhamming
  • After installation you can run unit tests to make sure that the library works fine. Execute:

    python -m libhamming.test

Usage

In Python 3::

import libhamming as hamming

Example

import libhamming as hamming

hamming.encode(b’0111111100’)

hamming.encode(b’x00x01x01x01x01x01x01x01x00x00’)

hamming.decode(b’00001110111100’)

hamming.decode(b’x00x00x00x00x01x01x01x00x01x01x01x01x00x00’)

V0.2 (2019-03-21)

  • Release ver0.2

Metadata

Release files for libhamming 0.3

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

Built distribution (wheel)

Table of built distributions (wheels) for libhamming 0.3
File Interpreter ABI Platform Actions
libhamming-0.3-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details for libhamming-0.3-cp36-cp36m-win32.whl

Release files / libhamming-0.3-cp36-cp36m-win32.whl

Download URL libhamming-0.3-cp36-cp36m-win32.whl
Size 26.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
013bde2b19c22306aa8ad41f367c9485f368856a704499649c3e51b89bfc9179
BLAKE2b-256 checksum
How to use checksums
4bdbcc1e37a6779a23df0e498a95c8e3870dd2311a4ce9fcaa97ac9c856847bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.5

Security for libhamming 0.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file 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