A library to create base92 encoded strings
Project description
A little library for encoding byte-strings into strings easily typeable on a standard US 101-key keyboard, with strictly better information density than base64 or base85 encodings.
USAGE
Fire up your favorite python:
>>> import base92
>>> base92.decode(base92.encode('hello world'))
'hello world'
>>> base92.encode('\x61\xf2\x05\x99\x42')
'DJ8gER!'
We use doctests, so running the tests is as easy as executing the base92.py library file with your python.
MISC
This library is pure python: there may be a cbase92 forthcoming, backed by a C library.
This library has not been tested with python3.
There is more information available at <https://github.com/thenoviceoof/base92>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
base92-1.0.3.tar.gz
(2.9 kB
view details)
File details
Details for the file base92-1.0.3.tar.gz.
File metadata
- Download URL: base92-1.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b175adbab740b08dd0684f369f320ca50695d40f62b33d7227bf018819970305
|
|
| MD5 |
87f778ba191aaf00659b5555a9d2b2a4
|
|
| BLAKE2b-256 |
7580a004049a60a18ae33248c5b8ec1893cc03d6683dc879e590b86561dc73ba
|