Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BinaryCraft-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BinaryCraft-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for BinaryCraft-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5adea7c7c7b89288e41ab45be2fa3fbcb87f047f4caa4e7004fc7f88f03c048b
MD5 f86085f4da5b9c363f01d56ea08db67e
BLAKE2b-256 4928bc051fe3b9ebde7b673f358c32119eebd13045a6824db21ec763e2ac0d10

See more details on using hashes here.

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

Hashes for BinaryCraft-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98bf1751cf72e9a04d44b343582bf324685dba03a88804658740babc833d0726
MD5 b30e5a503adaffd3a3be813b91dfef11
BLAKE2b-256 dd1210a9f92f02e726c03adea14a05ff48dbcbbf9c9cc8839e6cdf8b03c66694

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page