A collection of utility functions
Project description
julseb_lib_python_utils
A collection of Python utility functions for string manipulation, date handling, random generation, formatting, and more. Inspired by common JavaScript/TypeScript utility libraries, this package provides a wide range of helpers for everyday development tasks.
Features
- String case conversion (camelCase, snake_case, kebab-case, etc.)
- Date and time utilities (get_today, get_tomorrow, add_day, etc.)
- Random generators (numbers, strings, avatars, dates, etc.)
- Formatting helpers (format_date, format_hour, stringify_px, etc.)
- Array and object utilities (delete_duplicates, filter_object, sort_by_frequency, etc.)
- Color conversion (hex to RGB, RGB to hex)
- Regex patterns for password and email validation
Installation
pip install julseb_lib_python_utils
Usage
Import and use any function:
from julseb_lib_python_utils import get_today, to_camel_case, get_random_number
print(get_today())
print(to_camel_case('Hello world!'))
print(get_random_number(1, 10))
API Reference
Each function is documented with a Python docstring. See the source code for details on arguments and return values.
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
License
MIT © Julien Sebag
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 julseb_lib_python_utils-1.0.2.tar.gz.
File metadata
- Download URL: julseb_lib_python_utils-1.0.2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b354768381eba753bb480fbc7633169fc8f764daffb87f3cb64fa2333b7a02
|
|
| MD5 |
31fab98ce2641c0b94684dc650308a55
|
|
| BLAKE2b-256 |
180f465616ac378f1b96834d93a5d762d027a62ada71874af6d4d1b25deab152
|
File details
Details for the file julseb_lib_python_utils-1.0.2-py3-none-any.whl.
File metadata
- Download URL: julseb_lib_python_utils-1.0.2-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
618f67fd17c556b408e3dc90c20256b844c5f2213eb2added2ea9e42360d69b7
|
|
| MD5 |
9d6893e3d286982465a0abd259b27108
|
|
| BLAKE2b-256 |
b81b2b35589c1ee317d2b4cd879a5ede6714e1cddfe376522b79738d56601e20
|