baseMEOW
baseMEOW is an encoder/decoder that can store binary as a string of characters that spell out "meow" in some way, similar to base64.
Installation
# requires Python 3.6+
pip install baseMEOW
Usage
Encoding
$ echo 'hello' | baseMEOW
MeEeeOoWmEeooWwmmEeowwwWw
$ echo 'im a kitty' | baseMEOW
MeEeOwWMeeEEEoOOwwWWWmMmeOoOwMEooWMeeOWwMMMmM
$ dd if=/dev/urandom bs=1 count=30 | baseMEOW
30+0 records in
30+0 records out
30 bytes transferred in 0.000061 secs (491520 bytes/sec)
MMmeEOOowMEOWMMmEOowMEeEeEOWwwmeOOOooWmMmMMMeeeowwWmMMeEEOOWWWmmEOoOowwmmeoOWMmMmeEooWMEEeoWwmeOoOoOWWwWWmeEEoOOwWmmeoOwW
Decoding
$ echo 'MeEeeOoWmEeooWwmmEeowwwWw' | baseMEOW --decode
hello
$ echo 'MeEeOwWMeeEEEoOOwwWWWmMmeOoOwMEooWMeeOWwMMMmM' | baseMEOW --decode
im a kitty
$
# non UTF-8 data is printed as hex
$ echo 'MMmeEOOowMEOWMMmEOowMEeEeEOWwwmeOOOooWmMmMMMeeeowwWmMMeEEOOWWWmmEOoOowwmmeoOWMmMmeEooWMEEeoWwmeOoOoOWWwWWmeEEoOOwWmmeoOwW' | baseMEOW --decode
2ecb7fc9edeabe3d085a810f2618cc11eaccfbeae47cb6f6ab28786193e6
Benchmarks
See benchmark.py
| test case | base64 runtime (ms) | baseMEOW runtime (ms) | base64 size (bytes) | baseMEOW size (bytes) |
|---|---|---|---|---|
| 10 characters | 11.06 | 202.69 | 17 | 42 |
| 1000 characters | 12.05 | 168.23 | 1337 | 4002 |
| 10000 characters | 11.57 | 159.92 | 13337 | 40002 |
| 1000000 characters | 34.74 | 2500.45 | 1333337 | 4000002 |
Metadata
Release files for baseMEOW 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 |
|---|---|---|---|---|
| baseMEOW-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for baseMEOW-1.0.0.tar.gz |
Release files / baseMEOW-1.0.0.tar.gz
| Download URL | baseMEOW-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
653322d910e657062b491a8476a1e6c0cb0f0da459daece42ebb497a8b320ac1
|
|
BLAKE2b-256 checksum How to use checksums |
20df696dc566cf726d6e0f9eb79e441b8fee0b58a61ac8670167271e64abba0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for baseMEOW 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.