Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floressek/hamming_code
Project for Intro To Programming 2
https://github.com/floressek/hamming_code
Last synced: 8 days ago
JSON representation
Project for Intro To Programming 2
- Host: GitHub
- URL: https://github.com/floressek/hamming_code
- Owner: Floressek
- License: mit
- Created: 2024-02-29T20:22:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-02-29T20:55:50.000Z (8 months ago)
- Last Synced: 2024-10-10T11:25:20.788Z (28 days ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hamming Code Encoder/Decoder
=========================Encodes binary data using the Hamming Code method, detects and corrects errors, and displays the original data, encoded data, and corrected data.
Features
--------* Encode user-input binary data using the Hamming Code.
* Automatically detect and correct errors in encoded data.
* Introduce a random error in the encoded data to demonstrate error detection and correction.
* Display the original data, encoded data, encoded data with an error, and the corrected data.Requirements
------------* Python 3.x
* Tkinter (usually included with Python)
* Additional Python libraries: random, mathUsage
-----* Clone or download the source code from this repository.
* Run the script using Python: `python hamming_code_gui.py`
* Enter a binary number (e.g., 1101) in the input field.
* Click the "Encode/Decode" button to see the Hamming Code process in action. The application will display the encoded data, introduce and display an error, detect and correct the error, and finally, decode the corrected data.Contributing
------------* Contributions to enhance the functionality, improve the UI, or fix bugs in the application are welcome. Please fork the repository and submit a pull request with your changes.
License
-------This project is open-source and freely available for personal and educational use under the [MIT License](https://opensource.org/licenses/MIT).