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
- Cloud Documentation: Get started - Documentation
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:
pip install "utkit[api]"
pip install "utkit[standard]"
pip install "utkit[store]"
# All optional dependencies at once
pip install "utkit[all]"
uv:
uv add "utkit[api]"
uv add "utkit[standard]"
uv add "utkit[store]"
# All optional dependencies at once
uv add "utkit[all]"
Verify the installed version:
utkit --version
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 |
utils.file |
standard |
File checksum, content-based type detection, and file size |
template.render |
standard |
HTML rendering from Jinja2 files and strings |
store.redis |
store |
Singleton Redis client with JSON serialisation |
CLI
utkit ships with a command-line interface.
# Show version
utkit --version
utkit version
# Serve documentation locally on port 8005
utkit docs
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.23.0.tar.gz
(1.9 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.23.0.tar.gz.
File metadata
- Download URL: utkit-0.23.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aa1552ad86e2344cc5d09baaa22d32e7fd52a20ce420c721368789c3535a0f0
|
|
| MD5 |
6b18406a05c997accd0e72442299de6a
|
|
| BLAKE2b-256 |
485cd2e600364d020dc2c1d2d2a788d486811478378021705bb5946990f892b0
|
File details
Details for the file utkit-0.23.0-py3-none-any.whl.
File metadata
- Download URL: utkit-0.23.0-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d02bb1c9194bfb9e62c6703a7cfce2a739e44a11316be41eacf8fd5e101f2145
|
|
| MD5 |
c80fcebc1d1ed17255ec97a62546c6d5
|
|
| BLAKE2b-256 |
4e08e6a1c1edef9c7c4eeea5f4b862ced0c1c98636ef3e6cf612f05b3dc712c6
|