Skip to main content

utkit

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.


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

Metadata

Release files for utkit 0.23.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utkit 0.23.0
File Size Uploaded Provenance Actions
utkit-0.23.0.tar.gz 1.9 MB Without provenance Details for utkit-0.23.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for utkit 0.23.0
File Interpreter ABI Platform Actions
utkit-0.23.0-py3-none-any.whl Python 3 none any Details for utkit-0.23.0-py3-none-any.whl

Total release size: 3.8 MB

Release files / utkit-0.23.0.tar.gz

Download URL utkit-0.23.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2aa1552ad86e2344cc5d09baaa22d32e7fd52a20ce420c721368789c3535a0f0
BLAKE2b-256 checksum
How to use checksums
485cd2e600364d020dc2c1d2d2a788d486811478378021705bb5946990f892b0
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / utkit-0.23.0-py3-none-any.whl

Download URL utkit-0.23.0-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d02bb1c9194bfb9e62c6703a7cfce2a739e44a11316be41eacf8fd5e101f2145
BLAKE2b-256 checksum
How to use checksums
4e08e6a1c1edef9c7c4eeea5f4b862ced0c1c98636ef3e6cf612f05b3dc712c6
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for utkit 0.23.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page