A package with utility functions I use regularly
Project description
TurelUtils
Small, practical Python utility helpers used across personal projects.
Overview
turelutils is a lightweight collection of utility modules packaged under the src/turelutils namespace. It contains small, focused helpers for common tasks such as string manipulation, hashing, time helpers, and small type utilities. The package is intended for local use and easy reuse across projects.
Features
- Collection of focused utility modules:
constants— project constants and shared valueshash_utils— hashing helpers and convenience functionsmenu_utlis— small menu/UI helpers (note: spelledmenu_utlisin the package)string_utils— common string helpers (formatting, parsing, normalization)time_utils— helpers for time parsing/formattingtype_utils— lightweight type helpers and checks
- Small, dependency-light, and easy to import into other projects
Requirements
- Python 3.8+ recommended
Installation (local development)
To install the package into your local environment in editable mode:
pip install -e .
This installs the package from the repository root using the src/ layout.
If you have a virtual environment, activate it first:
Windows (cmd.exe):
python -m venv .venv
.venv\Scripts\activate
pip install -e .
Quick Usage
Import modules from the package directly. Example usage pattern:
# import a module
from turelutils import string_utils, hash_utils
# call functions from the module (replace `some_function` with the actual helper name)
# result = string_utils.some_function("value")
# digest = hash_utils.hash_value("secret")
print("Modules loaded:", string_utils, hash_utils)
Because the package follows a src layout, you can also run tools from the project root while the package is installed in editable mode.
Project Structure
Top-level files and important package modules:
README.MD
pyproject.toml
src/
turelutils/
__init__.py
constants.py
hash_utils.py
menu_utlis.py
string_utils.py
time_utils.py
type_utils.py
Contributing
- Please open issues or pull requests with enhancements or bug fixes.
- Follow standard best practices: small, focused PRs with a clear description.
Tests & CI
There are no tests included in this repository by default. If you add tests, consider using pytest and configuring a GitHub Actions workflow for CI.
License
No license file is included in the repository. Add a LICENSE file (for example, MIT or Apache-2.0) to make usage terms explicit.
Notes
- The module
menu_utlis.pyappears to have a typo in its filename (utlisvsutils). If that's unintentional and you prefermenu_utils, consider renaming the file and updating imports. - This README provides usage patterns and installation steps — update examples with real function names from the modules for clearer guidance.
If you'd like, I can:
- Inspect the individual modules and add concrete usage examples for the most useful functions.
- Add a simple
LICENSEfile (MIT by default) and a minimal contribution guideline.
Project details
Release history Release notifications | RSS feed
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 turelutils-1.0.0.tar.gz.
File metadata
- Download URL: turelutils-1.0.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff14cc03c68d5f11eaccbdf5e104f48779f73faf768ae421bfdc84b490ee228a
|
|
| MD5 |
bc6fba7e307916becebea01e36b60d20
|
|
| BLAKE2b-256 |
44cd7e8f436a0fb8ba9a1fb26c86cf542312799d04b8863f180333566a569887
|
File details
Details for the file turelutils-1.0.0-py3-none-any.whl.
File metadata
- Download URL: turelutils-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
541ab4b8a9099acf97d9531ad6897faa506a5b6fa05e1cea834065360647602f
|
|
| MD5 |
3c4f70a4364397af3b1b09e00a340bbb
|
|
| BLAKE2b-256 |
38837456336995403eb6a6a9b572fe2c7cca118b9502e5b7217e821e51d4d9ef
|