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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df3b1dc2d4bc8a492294d87f496a5f7604fde52abf77c429be4a45f2d6a3943 |
|
MD5 | abbca4a3834419a73a0bbd0b7a30a6ae |
|
BLAKE2b-256 | 24b7443ba1ff9bbc39e1c0a604422bb7b52934c1b491ae59d9fb05e133a6e451 |