Skip to main content

core libraries for development

Project description

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 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


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.8.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

utkit-0.8.0-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file utkit-0.8.0.tar.gz.

File metadata

  • Download URL: utkit-0.8.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.14

File hashes

Hashes for utkit-0.8.0.tar.gz
Algorithm Hash digest
SHA256 8f24c09ca65cb2cc0b6fc94b4ae3b1a1ec9cc64a6a6bf2257fcd4cec73598f34
MD5 eb68dccdccf6b847e0e62518123c6a5f
BLAKE2b-256 ae823a4ac966a677872b09abfa97bd5e0f391135cbc91923b5a02bfcda2e4958

See more details on using hashes here.

File details

Details for the file utkit-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: utkit-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.14

File hashes

Hashes for utkit-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b9d9598e37e37947c8ae1b6e976853630d5b12dd804eb72ceec3041857f1cc2
MD5 2b63dd36871531d71474d4b9fe1c1a1b
BLAKE2b-256 fb6edd3cee7edd973e3dd01c21fbd48c279da96db649998a5828859d25355c04

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