Skip to main content

Shared utilities for the Crypticorn APIs

Project description

This module serves as a central place for providing utilities for our Python backends.

  • Auth: Authentication and authorization for APIs with API key, JWT bearer token, and basic auth support
  • Exceptions: Comprehensive error handling system with HTTP/WebSocket exceptions and standardized error responses
  • Logging: Logging configuration and utilities for consistent formatting across services
  • Middleware: API middleware components for request/response processing
  • Pagination: Utilities for paginated API responses with cursor-based pagination, filtering, and sorting
  • Metrics: Prometheus metrics collection for HTTP requests, response times, and sizes
  • Types: Environment definitions (prod/dev/local/docker) and base URL management
  • Utils: General utility functions including random ID generation, datetime conversion, and optional imports

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

crypticorn_utils-1.0.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

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

crypticorn_utils-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file crypticorn_utils-1.0.0.tar.gz.

File metadata

  • Download URL: crypticorn_utils-1.0.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for crypticorn_utils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 53a671c8b2c31de3f0dc681de282bd26f7a3109aa16123efc9762108fba731ba
MD5 053b0f7b95870b243452fa686af0a6e9
BLAKE2b-256 72af5bf6031dc442f305b4247614cce4ecc705a70dc4c84b315f02ef73a41d32

See more details on using hashes here.

Provenance

The following attestation bundles were made for crypticorn_utils-1.0.0.tar.gz:

Publisher: deploy.yml on crypticorn-ai/python-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file crypticorn_utils-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crypticorn_utils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b77a7493e72b8c9527c5c06bdb482888627a610ef52d85dbfd355bddcea7a1d
MD5 858b434508f293a4d94d8099a4652541
BLAKE2b-256 9ab7ca07edbb347f2fca5c32530078db3966f4d752071639be9bd64ec7df9490

See more details on using hashes here.

Provenance

The following attestation bundles were made for crypticorn_utils-1.0.0-py3-none-any.whl:

Publisher: deploy.yml on crypticorn-ai/python-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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