Skip to main content

DDNA

Program / Library that converts sentences to DNA sequence and vice-versa.

Pylint pytest

O       o O       o O       o
A O   o | A O   o | | O   o G
| G O | C 1 | O G | T | O | 1
1 o   O | T o   O A | o   O C
o       O o       O o       O

Installation:

pip install ddna

Usage:

  • program
 python3 -m ddna -h    
usage: ddna.py [-h] [-e ENCODE] [-d DECODE]

DDNA - DNA Encoder/Decoder

optional arguments:
  -h, --help            show this help message and exit
  -e ENCODE, --encode ENCODE
                        Encode String to DNA
  -d DECODE, --decode DECODE
                        Decode DNA to String
  • pip package
>>> from ddna import DDNA
>>> DDNA().encode("HELLO WORLD")
'CAGACACCCATACATACATTAGAACCCTCATTCCAGCATACACA'
>>> DDNA().decode("CAGACACCCATACATACATTAGAACCCTCATTCCAGCATACACA")
'HELLO WORLD'

Plans:

  • Introduce Mutations
  • Introduce new form of encryption based on mutations

Metadata

Release files for ddna 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddna 0.1.2
File Size Uploaded
ddna-0.1.2.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ddna 0.1.2
File Interpreter ABI Platform
ddna-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / ddna-0.1.2.tar.gz

Download URL ddna-0.1.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8ece2b2a297e255eb059246aacd23eeaaff23c6f4de1e1f7b42b0c123e3cef1a
BLAKE2b-256 checksum
How to use checksums
c9ec49d5a8e6710cafe6affd3d38ab80b17881292b44d90ff876c8e0c3392102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / ddna-0.1.2-py3-none-any.whl

Download URL ddna-0.1.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61cac015cf6619167370d8ac096c649ff10fb6c3f7a4ea99daa89cbe2a195793
BLAKE2b-256 checksum
How to use checksums
f72290df0004b81e4b03cf1232e13e5e91ba3065ff558f579500d8a715c49dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page