Metadata-Version: 2.3
Name: muzzy
Version: 0.1.1
Summary: 
Author: wangshangwen
Author-email: shangwenwang20@gmail.com
Requires-Python: >=3.9
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: base32-tiny (>=0.1.3,<0.2.0)
Requires-Dist: setuptools (>=78.1.0,<79.0.0)
Requires-Dist: validators (>=0.34.0,<0.35.0)
Description-Content-Type: text/markdown

# Muzzy
A python function library.

## Installation
use pip
```shell
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
```python
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

