Muzzy
A python function library.
Installation
use pip
pip install muzzy
use poetry
poetry add muzzy
Please confirm that you have properly set up the Python interpreter and can correctly recognize the packages installed by Poetry.
Usage
from muzzy import is_base16, is_base64, is_url, to_base64, base32_encode, base32_decode
message = base32_encode(b"f", "Crockford")
print(base32_decode(message, "Crockford").decode("utf-8"))
API Reference
def base32_encode(s: bytes, variants: Variant, option: Options = None) -> str
def base32_decode(s: str, variants: Variant) -> bytes
def to_base16(b: bytes) -> str
def to_base64(b: bytes) -> str
def to_urlsafe_base64(b: bytes) -> str
def from_base16(s: str) -> bytes
def from_base64(s: str) -> bytes
def from_urlsafe_base64(s: str) -> bytes
def base64_to_base16(s: str) -> str
def is_base64(s: str) -> bool
def is_base16(s: str) -> bool
def is_url(s: str) -> bool
Release files for muzzy 0.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 | |
|---|---|---|---|
| muzzy-0.1.3.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| muzzy-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:5.9 kB
Release files / muzzy-0.1.3.tar.gz
| Download URL | muzzy-0.1.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c780372f00bae5ca45bf9eac47d1b76ce707755a7bc431a142a68b8a2cfd2f00
|
|
BLAKE2b-256 checksum How to use checksums |
e608fed18e5e1875f0563c955e21ba1bda2c81608059d9567cdffb9e10d8b35e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / muzzy-0.1.3-py3-none-any.whl
| Download URL | muzzy-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d8bc589ce056d4eeab5261d2515fb4c846f18d3618d6e6034eedbc61eeb12ab
|
|
BLAKE2b-256 checksum How to use checksums |
b2be4357a2cc36481ec5d2dcbc141070fb373eab5b179d57b69cf4b4c6fc6a73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|