A Python script to convert files to binary format and back
Project description
Binary
This is a Python script that can be used to convert any file to binary format and back to its original format.
Requirements
- Python 3.x
- Operating system: Windows, Linux or macOS
Installation
To install this package, you can use pip:
pip install BinaryCraft
Usage
import BinaryCraft
# Convert a file to binary format
output_file_path = binary.convert_file_to_binary('example.txt')
# Convert the binary file back to its original format
output_file_path = binary.binary_to_file('example.bin', 'txt')
Note that these functions assume that the input files and the output files are located in the same directory.
Contributing
Contributions are welcome! If you find any bugs or issues with the script, please feel free to create an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file BinaryCraft-1.0.0.tar.gz.
File metadata
- Download URL: BinaryCraft-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5adea7c7c7b89288e41ab45be2fa3fbcb87f047f4caa4e7004fc7f88f03c048b
|
|
| MD5 |
f86085f4da5b9c363f01d56ea08db67e
|
|
| BLAKE2b-256 |
4928bc051fe3b9ebde7b673f358c32119eebd13045a6824db21ec763e2ac0d10
|
File details
Details for the file BinaryCraft-1.0.0-py3-none-any.whl.
File metadata
- Download URL: BinaryCraft-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98bf1751cf72e9a04d44b343582bf324685dba03a88804658740babc833d0726
|
|
| MD5 |
b30e5a503adaffd3a3be813b91dfef11
|
|
| BLAKE2b-256 |
dd1210a9f92f02e726c03adea14a05ff48dbcbbf9c9cc8839e6cdf8b03c66694
|