I would like to share the inverse-code is a encryption library I just created in Python. It is based on the ASCII Table of Windows-1252.
👉 https://pypi.org/project/inverse-code/
This cryptography is at least vaguely similar to real-world things, such as Reed-Solomon error correction codes or some interspersed data formats that can be transmitted by IoT edge devices.
ASCII, means American standard code for information exchange. It is a 7 -bit character code where each individual bit represents a unique character.
All source code was created from scratch without the use of a third party library. This library has two main code and encode functions that encodes 4 character packages shuffling them into 32-bit integer values for transmission and then reverses the operation at the end of receipt to reconstruct the original text.
Following better programming practices and clean code I used the following tools:
Pylint - For statistical analysis of the code.
Black - For code formatting.
Unittest - To test the library.
I used the updated version of PEP - Python Enhancement proposals