nxvembrx / pygolomb

A Python library to test binary sequences with Golomb's randomness postulates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyGolomb

PyPI - Version GitHub License GitHub Release codecov

A small Python library to test binary sequences with Golomb's randomness postulates.

Installation

Python >=3.10 is required.

pip install pygolomb

Developing

Create venv and install dependencies.

python3 -m venv .venv
. .venv/bin/activate
poetry install

Testing

. .venv/bin/activate
pytest

To check test coverage:

pytest --cov=pygolomb tests/

Roadmap

The overall code quality is largely at the same level it was back in 2018. This is to be improved in the future.

GUI application

There are no plans to have a new GUI at the moment. The old Tkinter application remains in gui directory only for historic purposes.

Contributing

Contributions are welcome. Please fork the project and use feature a feature branch. For bugs and suggestions, please open an issue.

License

The project is licensed under the GNU Lesser General Public License. See COPYING for full terms.

Original source code before reassigning the license, and the source code in the gui directory is licensed under the MIT license.

Acknowledgements

  1. Menezes, A.J., Van Oorschot, P.C. and Vanstone, S.A. (2018) Handbook of Applied Cryptography. 1st edn. CRC Press. Available at: https://doi.org/10.1201/9780429466335.
  2. Pinaki, M. (no date) ‘Golomb’s Randomness Postulates’. Available at: https://www.iitg.ac.in/pinaki/Golomb.pdf (Accessed: 8 May 2024).

About

A Python library to test binary sequences with Golomb's randomness postulates.

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%