Skip to main content

A lightweight toolbox of handy Python helper functions

Project description

handybox

A lightweight toolbox of handy Python helper functions

PyPI version

📦 Installation

Install using pip:

pip install handybox

📘 Description

handybox is a compact Python utility library that offers a curated set of useful helper functions for everyday development. It avoids bloat, has no dependencies, and is built for clarity and speed.

🔧 Features

🔤 String Utilities

  • camelToSnake(str) — Converts CamelCase strings to snake_case.
  • slugify(str) — Converts a string into a URL-friendly slug.
  • removeAccents(str) — Removes accents from characters in a string.
from handybox import camelToSnake, slugify

camelToSnake("MyVariableName")   # "my_variable_name"
slugify("Hello, World!")           # "hello-world"
removeAccents("Café")              # "Cafe"

📅 Date Utilities

  • nowiso() — Returns the current datetime in ISO format.
  • todayStr() — Returns today’s date as a string (YYYY-MM-DD).
from handybox import nowiso, todayStr

nowiso()     # "2025-05-01T17:45:00.123456"
todayStr()   # "2025-05-01"

🧰 Miscelaneous Utilities

  • uniqid(prefix="") — Generates a unique ID string, similar to PHP’s uniqid().
from handybox import uniqid

uniqid()             # "f5e3a9c0b1d2"
uniqid("user")      # "user-f5e3a9c0b1d2"

🚀 Why handybox?

  • ✅ Lightweight and dependency-free
  • ✅ Easy to install and use
  • ✅ Common utilities in one place
  • ✅ Minimal API surface
  • ✅ Built for real-world usage

📄 License

MIT License
© 2025 Gabriel Valentoni Guelfi

👤 Author

Gabriel Valentoni Guelfi
📧 gabriel.valguelfi@gmail.com
🔗 LinkedIn

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

handybox-0.4.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

handybox-0.4.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file handybox-0.4.1.tar.gz.

File metadata

  • Download URL: handybox-0.4.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for handybox-0.4.1.tar.gz
Algorithm Hash digest
SHA256 744b0caa3e6f369f488e242eaa0577d196445c4805cdc84d74d4410ac465302b
MD5 bcb7fdcb40e3471c8d2b76b4dac60337
BLAKE2b-256 98e7f9307054ffcd91643da55740064af00bc423489c4c61a9f1c74c5f2db0ab

See more details on using hashes here.

File details

Details for the file handybox-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: handybox-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for handybox-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98166d6010ab50bcd03ddd87ba99c2a5980ec86d9855ea786b0324e0e881e875
MD5 a8235bb90c6111471dc715e9e82492ff
BLAKE2b-256 633398b02401d24048c6406335015a90cb92caa625e4fcf18673ef3be6a94a83

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