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
  • 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
  • Pagination: Utilities for paginated API responses and cursor-based pagination
  • Utils: General utility functions and helper methods

Changelog

v1.0.0-rc.4 (2025-08-27)

Bug Fixes

  • Pass additional arguments as kwargs to .build_exception (627f88e)

v1.0.0-rc.3 (2025-08-26)

Features

  • Export more classes in init, fix bug in exception handling, remove enums (4cd659b)

Refactoring

  • Remove partial_model decorator and update documentation references (#5, 48bad3d)

v1.0.0-rc.2 (2025-07-31)

Bug Fixes

  • Change verify api key request (2dee77f)

Documentation

Refactoring

  • Improve type hinting in partial_model decorator (de558ba)

Testing

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.0rc4.tar.gz (24.9 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.0rc4-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crypticorn_utils-1.0.0rc4.tar.gz
  • Upload date:
  • Size: 24.9 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.0rc4.tar.gz
Algorithm Hash digest
SHA256 eca5bb3a02568a86a893c119ee0f76029e7e9acdae25b3c8a4a8cce08c7f5327
MD5 a04f9cc71d43802bc5757cb8f34a5f35
BLAKE2b-256 2c354cdea12daffe5eec4aaa42768e3d96a52737098b239ac9ac9f12764fadcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for crypticorn_utils-1.0.0rc4.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.0rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for crypticorn_utils-1.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8989f5311b52f884522a761df275e16f51d26eba207e3afae4e025d64a80f2e
MD5 791e3dd55aadd6c1f050b517f6f55f2f
BLAKE2b-256 45c774a8be5a2fc8fc5e5dd3fff7c772921dcbbc31881f4f0aff2eee809384af

See more details on using hashes here.

Provenance

The following attestation bundles were made for crypticorn_utils-1.0.0rc4-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