Skip to main content

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 values
    • hash_utils — hashing helpers and convenience functions
    • menu_utlis — small menu/UI helpers (note: spelled menu_utlis in the package)
    • string_utils — common string helpers (formatting, parsing, normalization)
    • time_utils — helpers for time parsing/formatting
    • type_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.py appears to have a typo in its filename (utlis vs utils). If that's unintentional and you prefer menu_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 LICENSE file (MIT by default) and a minimal contribution guideline.

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

turelutils-1.0.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

turelutils-1.0.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

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

Hashes for turelutils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ff14cc03c68d5f11eaccbdf5e104f48779f73faf768ae421bfdc84b490ee228a
MD5 bc6fba7e307916becebea01e36b60d20
BLAKE2b-256 44cd7e8f436a0fb8ba9a1fb26c86cf542312799d04b8863f180333566a569887

See more details on using hashes here.

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

Hashes for turelutils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 541ab4b8a9099acf97d9531ad6897faa506a5b6fa05e1cea834065360647602f
MD5 3c4f70a4364397af3b1b09e00a340bbb
BLAKE2b-256 38837456336995403eb6a6a9b572fe2c7cca118b9502e5b7217e821e51d4d9ef

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