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

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.20.0.tar.gz (1.9 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.20.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: utkit-0.20.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

Hashes for utkit-0.20.0.tar.gz
Algorithm Hash digest
SHA256 fbe6f7f6784f26d88dcc83b66fc33109138e0db1ca1cb1399ba7b123bdb566f2
MD5 d475e5741e226b066cd71be96d1c4868
BLAKE2b-256 1dc5d9d9757cb48d74174c75f852947ee51a658eb5c2846e7ffa87139551d21e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: utkit-0.20.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

Hashes for utkit-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e0c1507733bee51a1ea9072a8a3707e73596d1eea64403eac22b7b11431eb0f
MD5 f8c8338b7f970975f08d5503cf521d47
BLAKE2b-256 4c8a528862602d9326ebd746c0245a0b0ea85235899de3ee6f3e445d4aa554c1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.23.0

2 files

0.22.0

2 files

0.21.0

2 files

This release

0.20.0 This release

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page