Metadata-Version: 2.1
Name: libhamming
Version: 0.2
Summary: Library for hamming code
Home-page: https://github.com/hex-in/libhammingcode.git
Author: Heyn
Author-email: heyunhuan@gmail.com
License: GPLv3
Keywords: hamming,hamming code
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy

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'\x00\x01\x01\x01\x01\x01\x01\x01\x00\x00')

    hamming.decode(b'00001110111100')

    hamming.decode(b'\x00\x00\x00\x00\x01\x01\x01\x00\x01\x01\x01\x01\x00\x00')



V0.2 (2019-03-21)
+++++++++++++++++++
* Release ver0.2



