Evapyrate
Evapyrate is a fun bijective text transformer. It maps characters into binary, replacing 0 bits with \u200B and 1 bits with \u200C, joining the bytes together with \u200D. Note that the forementioned characters are ZWCs (zero-width characters). In many text spaces, these characters will not be visible and will not appear to take up any space. You can use repr() to view the raw unicode sequences if you require.
The text transformer is bijective, meaning there is a one-to-one correspondence between the original and the transformed text.
I made this module for fun, it advise against using it in a practical context other than to play around with it.
Usage
Import the module:
import evapyrate
Use the evaporate function to encode text:
>>> import evapyrate
>>> evapyrate.evaporate("Hello world!")
''
Use the condense function to decode the text to its original form:
>>> import evapyrate
>>> evapyrate.condense("")
'Hello world!'
Command Line Interface
The CLI commands work in the same way as the module.
eva (evaporate)
$ evapyrate eva foo bar
Evaporated: []
Use the -c flag to copy to clipboard (assuming pyperclip is installed).
$ evapyrate eva -c foo bar
Evaporated: []
Copied to clipboard!
con (condense)
$ evapyrate con
Condensed: foo bar
Note: It is difficult to copy the ZWCs from the evaporate function to use in the condense function. It is recommended that you use the -c flag when using the eva command.
Installation
Install from pip.
pip install evapyrate
Metadata
Release files for evapyrate 1.0.0
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 |
|---|---|---|---|---|
| evapyrate-1.0.0.tar.gz | 4.1 kB | Without provenance | Details for evapyrate-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evapyrate-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for evapyrate-1.0.0-py3-none-any.whl |
Total release size: 8.5 kB
Release files / evapyrate-1.0.0.tar.gz
| Download URL | evapyrate-1.0.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
468937defaa05ad789096bf4e3e55b6f1390020a8f7b350579c1c8acee2797c1
|
|
BLAKE2b-256 checksum How to use checksums |
bef8559f0c9bf8eabd681968480c1203bbcc2a6d8f1bbd7d82976a2ea5e162b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / evapyrate-1.0.0-py3-none-any.whl
| Download URL | evapyrate-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b01d436c7c3184676db4b889cc0d179598af9f8927fbef83a4fa151a60dd5f0
|
|
BLAKE2b-256 checksum How to use checksums |
fd6441916250f06db435e372bfbfb79650dfd82301c573249670b5be3cb0f03e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for evapyrate 1.0.0
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.