core libraries for development
Project description
utkit
utkit is a collection of core libraries for Python development, providing ready-to-use utilities for common tasks such as authentication, email, encryption, caching, rate limiting, and more.
- Author: TINS P JOSEPH
- Requires: Python
>=3.12 - License: MIT
- PyPI: pypi.org/project/utkit
Installation
pip install utkit
Or with uv:
uv add utkit
Optional extras
| Extra | Included dependencies | Use for |
|---|---|---|
api |
slowapi, pydantic |
Rate limiting and API schema for FastAPI |
standard |
psutil, jinja2 |
Performance monitoring and HTML template rendering |
store |
redis |
Redis cache and key-value store |
all |
all of the above | Install every optional dependency at once |
pip install "utkit[api]"
pip install "utkit[standard]"
pip install "utkit[store]"
# All optional dependencies at once
pip install "utkit[all]"
Modules
Core
| Module | Description |
|---|---|
auth |
Password hashing and verification |
communication.mail |
Send HTML emails via SMTP |
privacy.mask |
Mask sensitive data (email, phone, card, string) |
privacy.security |
Fernet & RSA encryption, secret key generation, JWT |
Optional
| Module | Extra | Description |
|---|---|---|
api.rate_limit |
api |
Rate limiting for FastAPI via SlowAPI |
api.schema |
api |
Reusable Pydantic query models (pagination) |
utils.performance |
standard |
Execution time decorator and memory usage |
template.render |
standard |
HTML rendering from Jinja2 files and strings |
store.redis |
store |
Singleton Redis client with JSON serialisation |
CLI
utkit --version
utkit docs
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
utkit-0.13.0.tar.gz
(1.7 MB
view details)
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 utkit-0.13.0.tar.gz.
File metadata
- Download URL: utkit-0.13.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a21e3d6867e729cfaa7d5cd9722f29184148f175907a6f74b00c1087709288db
|
|
| MD5 |
7690d218503515d3e5e3d0c8455512d6
|
|
| BLAKE2b-256 |
8fc8ca572ccedb347da3b4ae9d2e341d54749522dd4f7e5e83d3e2c4de116f84
|
File details
Details for the file utkit-0.13.0-py3-none-any.whl.
File metadata
- Download URL: utkit-0.13.0-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
751f4018af1e2c6461fe864d0811a28f9bd995a3f06caede0f681a9883c89b68
|
|
| MD5 |
f5f3b625dceaab77b85fec4eb58f9588
|
|
| BLAKE2b-256 |
5a6d4e0c4edf3ca954e3dc6c7818f3ed41b2b0aa085d58068b52135ad3f9cdec
|