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 and JWT bearer token support
  • Ansi Colors: ANSI color codes for terminal text formatting and colorful console output
  • Decorators: Utility decorators for model manipulation, including partial_model for optional fields
  • Enums: Common enumerations for type safety and consistency
  • Errors: Comprehensive error handling system with HTTP exceptions and error content structures
  • Exceptions: Custom exception classes and error handling utilities
  • Logging: Logging configuration and utilities for consistent formatting
  • Middleware: API middleware components for request/response processing
  • Mixins: Reusable functionality components for class mixing
  • Pagination: Utilities for paginated API responses and cursor-based pagination
  • Router: API routing utilities and components
  • Scopes: Authorization scope definitions and management for API access control
  • Urls: URL management utilities including base URLs, service endpoints, and API versioning
  • Utils: General utility functions and helper methods
  • Warnings: Warning handling and custom warning types
  • Metrics: Shared metrics collection from APIs for visualization

Changelog

v1.0.0-rc.1 (2025-07-17)

Build System

  • Deployment config for v1 branches (b94d9e7)

BREAKING CHANGE: - removed: mixins, openapi and both router modules; CLI; Scope Enum class; throw_if_none and throw_if_falsy; all deprecation warnings - reworked: exceptions and error modules

  • Mark packaage as typed (69544a8)

  • Remove support for python versions 3.9 and 3.10 (80b8543)

v0.1.0-rc.1 (2025-06-23)

Documentation

Features

Unreleased

Documentation

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.0rc1.tar.gz (25.1 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.0rc1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crypticorn_utils-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 25.1 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 be27e1c95b8fc621b43bffda072587be22ced68f3982a86407c087a9620fc565
MD5 cd01e92d90fed22da42fb2a5b4c123a8
BLAKE2b-256 f1841fb57944d0b229c95e837f0b1bc7594831a1809d32edcac1dbece5cbd512

See more details on using hashes here.

Provenance

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

Publisher: deploy.yml on crypticorn-ai/util-libraries

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.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for crypticorn_utils-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 de8278d1cb917424b32defe34a6dac86dbf5bab65adbb3ab2c77ffaf4f655679
MD5 a4874ea0d16739c255cc9bd7c04aaa14
BLAKE2b-256 146d9f5efba2a861a8011bad3a3f5321fc3c53663f64dcf1f0ace49d9b73277e

See more details on using hashes here.

Provenance

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

Publisher: deploy.yml on crypticorn-ai/util-libraries

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