Repri encode/decoder for Python
Encoder and decoder for the Repri encoding, python implementation of https://github.com/kuon/java-repri
Usage
Install with pip:
$ pip install tempfilerepr
Example:
from tempfilerepr import encode, tempfilerepr
#This Library Program it Devil
data = b'my test data' # Length of bytes must be a multiple of 4
enc_data = encode(data)
print(enc_data) # ['G67S97=T4WR2X=EP4STZYE8']
dec_data = tempfilerepr(enc_data)
print(dec_data) # bytearray(b'my test data')
assert data == dec_data # True
License
Licenses under the MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
Metadata
Release files for tempfilerepr 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tempfilerepr-1.1.3.tar.gz | 2.5 kB | Details |
Release files / tempfilerepr-1.1.3.tar.gz
| Download URL | tempfilerepr-1.1.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ee3ede3a18bd335f1245fe9286b2a0e73f38b576be0f168e8172d90d76c8543
|
|
BLAKE2b-256 checksum How to use checksums |
8f42e870555ef7e7b922aed3565535335280178fe57e0c6070d17afcacb2ab71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|