BinGenetic is a lightweight Python library that enables seamless conversion between binary data and genetic sequences (DNA or RNA), facilitating research in DNA data storage and bioinformatics.
🔧 Development Details
- 👨💻 Developer: Ravin Kumar
- 📂 GitHub Repository: BinGenetic
📥 Installation
pip install bingenetic
or,
pip install git+https://github.com/mr-ravin/bingenetic.git
📌 Dependencies:
- Python >= 3.7
- No additional dependencies required
🚀 Usage & Examples
🔹 Binary Code to Genetic Code:
import bingenetic
# Convert binary to DNA sequence
genetic_code = bingenetic.btg("00011011", "dna") # Binary -> DNA
print(genetic_code) # Output: 'ACGT'
🔹 Genetic Code to Binary Code:
import bingenetic
# Convert DNA sequence to binary
binary_code = bingenetic.gtb("ACGT", "dna") # DNA -> Binary
print(binary_code) # Output: '00011011'
📌 Use Cases
- DNA Data Storage – Store digital information using biological sequences.
- Bioinformatics – Encode and decode genetic data efficiently.
- Cryptography – Convert binary data into genetic code for secure encoding.
📜 License
Copyright (c) 2020 Ravin Kumar
Website: https://mr-ravin.github.io
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Metadata
Release files for bingenetic 2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bingenetic-2.6.tar.gz | 3.5 kB | Without provenance | Details for bingenetic-2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bingenetic-2.6-py3-none-any.whl | Python 3 | none | any | Details for bingenetic-2.6-py3-none-any.whl |
Total release size: 6.9 kB
Release files / bingenetic-2.6.tar.gz
| Download URL | bingenetic-2.6.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e8eb1951e6b36c9a1c7bfb3b17869efe501d05db356bba72857018cd79be2ee
|
|
BLAKE2b-256 checksum How to use checksums |
7ece21e84f7d5459de7fb2cfd8c3d6bb700deb8309606058815e8edd44ad2256
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / bingenetic-2.6-py3-none-any.whl
| Download URL | bingenetic-2.6-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94b331b6d4be57d3ef847be70fc1d6d2fb9a38591bbf3c16310e92c5df400728
|
|
BLAKE2b-256 checksum How to use checksums |
c59915fa8a6efca7f084ca48bbfbe08e9483ad7da4925418606c6e84bc709d34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for bingenetic 2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.