Skip to main content

No project description provided

Project description

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

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

muzzy-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muzzy-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file muzzy-0.1.1.tar.gz.

File metadata

  • Download URL: muzzy-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for muzzy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3e40a6f7a5ae05fd2ab5b5227aac72fecb8943672f834f762bf161bc1200f22b
MD5 6a4a535250c57adac56920129dd984f5
BLAKE2b-256 6d2a154c4f0c12829afb146fa24a83dab8720c0d4cccc7e3b587401f8e91cca6

See more details on using hashes here.

File details

Details for the file muzzy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: muzzy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for muzzy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 efaf84ed2d9d6f8aff27a9de964cf935cd1262a57daf6daf635613e910061adf
MD5 135e8669502a8c9669154160680a8e23
BLAKE2b-256 ec792d7d5ff7965566fbf035ac01c202f20b0711f6a6f1752c2d9a39a048e97c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page