A lightweight toolbox of handy Python helper functions
Project description
handybox
A lightweight toolbox of handy Python helper functions
📦 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’suniqid().
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file handybox-0.4.0.tar.gz.
File metadata
- Download URL: handybox-0.4.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96cf99d50726caa2237c21eba89ca6df0ad9c1387d8c81dee2cd7bf78504cae5
|
|
| MD5 |
2c324db6bff8a3b1e12c7d643d5dfbfd
|
|
| BLAKE2b-256 |
e9c1773658c9bdd6f52b9690ed6083b655500f519521ddd0d042ed4ed16a6f69
|
File details
Details for the file handybox-0.4.0-py3-none-any.whl.
File metadata
- Download URL: handybox-0.4.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
659b3ff646701afd33a579ead2e57a7bc979552698f844ca44823f5df1c94197
|
|
| MD5 |
8113a4674c672c0db45891eae7cd4280
|
|
| BLAKE2b-256 |
29c51e5a55d9abe47446dad575c8bb29088c7ab84753bba54fd5175ebcb775ab
|