Skip to main content

A python function library

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.3.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.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muzzy-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c780372f00bae5ca45bf9eac47d1b76ce707755a7bc431a142a68b8a2cfd2f00
MD5 167ed4ba455e7388c0f8d52aac309acb
BLAKE2b-256 e608fed18e5e1875f0563c955e21ba1bda2c81608059d9567cdffb9e10d8b35e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muzzy-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8d8bc589ce056d4eeab5261d2515fb4c846f18d3618d6e6034eedbc61eeb12ab
MD5 dee574edc7a4bcbb08efe0a60de2a9aa
BLAKE2b-256 b2be4357a2cc36481ec5d2dcbc141070fb373eab5b179d57b69cf4b4c6fc6a73

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