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.5 (2025-08-28)
Features
- Enhance exception handling with improved type safety and restructure imports (breaking)
(
c58a5fe)
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
v1.0.0-rc.2 (2025-07-31)
Bug Fixes
- Change verify api key request
(
2dee77f)
Documentation
- Update Readme
(
c2f8eec)
Refactoring
- Improve type hinting in partial_model decorator
(
de558ba)
Testing
- Fix failing auth test
(
5ff77b3)
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
v0.1.0-rc.1 (2025-06-23)
Documentation
Features
- Initial release
(
4da5fe3)
Unreleased
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crypticorn_utils-1.0.0rc5.tar.gz.
File metadata
- Download URL: crypticorn_utils-1.0.0rc5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b4636cf86522b46957d4a7eceaaaa7a837cccc8bd82771cb9d7a100f5be5960
|
|
| MD5 |
cfa049974c773002a1d8a1bda9a3655a
|
|
| BLAKE2b-256 |
cfa15d37b156104af94b5593ac79773f51f9d32b2708548f8cb783748fe6fc6b
|
Provenance
The following attestation bundles were made for crypticorn_utils-1.0.0rc5.tar.gz:
Publisher:
deploy.yml on crypticorn-ai/util-libraries
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crypticorn_utils-1.0.0rc5.tar.gz -
Subject digest:
9b4636cf86522b46957d4a7eceaaaa7a837cccc8bd82771cb9d7a100f5be5960 - Sigstore transparency entry: 444102151
- Sigstore integration time:
-
Permalink:
crypticorn-ai/util-libraries@ed44cbc6b231f7519b98d0927d9723395c82931d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/crypticorn-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@ed44cbc6b231f7519b98d0927d9723395c82931d -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file crypticorn_utils-1.0.0rc5-py3-none-any.whl.
File metadata
- Download URL: crypticorn_utils-1.0.0rc5-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acb42193ab1984d8b85271297ab15cb6c1988c56c3d52fe7e968beec9354d848
|
|
| MD5 |
f6b338d755d4a325d106a8c95b77cadb
|
|
| BLAKE2b-256 |
4745de889441b776c79034d5c4c2f5b7616adbffb5591c0b2ffb174884f46238
|
Provenance
The following attestation bundles were made for crypticorn_utils-1.0.0rc5-py3-none-any.whl:
Publisher:
deploy.yml on crypticorn-ai/util-libraries
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crypticorn_utils-1.0.0rc5-py3-none-any.whl -
Subject digest:
acb42193ab1984d8b85271297ab15cb6c1988c56c3d52fe7e968beec9354d848 - Sigstore transparency entry: 444102176
- Sigstore integration time:
-
Permalink:
crypticorn-ai/util-libraries@ed44cbc6b231f7519b98d0927d9723395c82931d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/crypticorn-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@ed44cbc6b231f7519b98d0927d9723395c82931d -
Trigger Event:
workflow_run
-
Statement type: