Translate text to and from DML with ease.
Project description
🈷️ Dotted Markup Language
Translate text to and from DML with ease.
📥 Installation
Execute pip install dotted-ml
.
Add import dml
to the top of your project.
♿ Usage
🚮 Encoding
import dml
mycode = """
myvar = "Hello, world!"
print(myvar)
"""
dml.encode(mycode, out="mycode.dml")
mycode.dml
:
܁٠܁٠۰܁܁٠܁܁٠܁۰܁܁܁܁٠٠܁۰܁܁܁٠܁܁٠۰܁܁٠٠٠٠܁۰܁܁܁٠٠܁٠۰܁٠٠٠٠٠۰܁܁܁܁٠܁۰܁٠٠٠٠٠۰܁٠٠٠܁٠۰܁٠٠܁٠٠٠۰܁܁٠٠܁٠܁۰܁܁٠܁܁٠٠۰܁܁٠܁܁٠٠۰܁܁٠܁܁܁܁۰܁٠܁܁٠٠۰܁٠٠٠٠٠۰܁܁܁٠܁܁܁۰܁܁٠܁܁܁܁۰܁܁܁٠٠܁٠۰܁܁٠܁܁٠٠۰܁܁٠٠܁٠٠۰܁٠٠٠٠܁۰܁٠٠٠܁٠۰܁٠܁٠۰܁܁܁٠٠٠٠۰܁܁܁٠٠܁٠۰܁܁٠܁٠٠܁۰܁܁٠܁܁܁٠۰܁܁܁٠܁٠٠۰܁٠܁٠٠٠۰܁܁٠܁܁٠܁۰܁܁܁܁٠٠܁۰܁܁܁٠܁܁٠۰܁܁٠٠٠٠܁۰܁܁܁٠٠܁٠۰܁٠܁٠٠܁۰܁٠܁٠۰
♻️ Decoding
import dml
dml.decode_file("mycode.dml", out="mycode.py")
mycode.py
:
myvar = "Hello, world!"
print(myvar)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for dotted_ml-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5a21fd683a667d9ef4b8b014d602150f256a100b3ae365609a8be9440fb95e |
|
MD5 | 867ba1123d525c1a3c05caf9ede3f17c |
|
BLAKE2b-256 | b5e361e8f5be19d9e09a21995611eefadbcb50078894e67567644c9885ab1e72 |