Skip to content

blake2731/tiny-python-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Python Utils

Small, useful Python scripts.

slugify.py

Converts text into URL-safe slugs.

human_readable_time.py

Converts seconds into a human-readable string (e.g. 3661 → 1h 1m 1s).

env_loader.py

Safely loads and validates required environment variables for applications.

retry.py

Retries a function call on failure with configurable attempts and delay.

safe_cast.py

Safely cast values to a type with a fallback default.

Running Tests

Install development dependencies and run the test suite:

pip install -r requirements-dev.txt
pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages