Pikadantic provides robust data validation for RabbitMQ messaging
Project description
Pikadantic
Pikadantic is a Python library that integrates Pika with Pydantic to provide robust data validation for RabbitMQ messaging.
🚀 Why Pikadantic?
- Seamless Integration: Combines Pika's messaging capabilities with Pydantic's data validation.
- Type Safety: Leverages Python's type hints for clear and enforceable message schemas.
- Data Integrity: Validates messages before sending or processing, reducing runtime errors.
📦 Installation
Install Pikadantic using pip:
pip install pikadantic
🧩 Example Usage
🛠️ Contributing
Contributions are welcome! If you'd like to add a new feature or fix a bug, please:
- Set up your local environment using uv.
- Run
make installto install dependencies. - Ensure 100% test coverage for your changes.
- Open a pull request and tag
@karta9821as a reviewer. - Pull requests without sufficient tests or that reduce test coverage will not be accepted.
⚖️ License
This project is licensed under the MIT License. See the LICENSE file for details.
Note: Pikadantic is currently in an experimental phase. Use with caution in production environments.
🙏 Acknowledgments
This project was inspired by pika-pydantic, which elegantly combines Pika and Pydantic for message validation.
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 pikadantic-0.0.1.tar.gz.
File metadata
- Download URL: pikadantic-0.0.1.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11c6823bdf229932dbde524e6f21b09fdb021827ced96bfa089677daf956a865
|
|
| MD5 |
6dd146e095e10c41ef089c265937c900
|
|
| BLAKE2b-256 |
cfb8458d4943c30171b591a43001b7aa35cfcee13f0edbea68501b416baced98
|
Provenance
The following attestation bundles were made for pikadantic-0.0.1.tar.gz:
Publisher:
publish.yml on karta9821/pikadantic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pikadantic-0.0.1.tar.gz -
Subject digest:
11c6823bdf229932dbde524e6f21b09fdb021827ced96bfa089677daf956a865 - Sigstore transparency entry: 208173395
- Sigstore integration time:
-
Permalink:
karta9821/pikadantic@f98f9c17e690d1c2a7c42d0c206e54fe255dcfb1 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/karta9821
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f98f9c17e690d1c2a7c42d0c206e54fe255dcfb1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pikadantic-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pikadantic-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
64ca6f9e09fde663acfbe46722110f3e205508d15b0f3a40dac19d1e0414b508
|
|
| MD5 |
64202c7fca0342d59fbdb9844ef61869
|
|
| BLAKE2b-256 |
f1edc4cbbf98003542e6323099a38165276d0e5dbd2dc5afbc43b04066423dbc
|
Provenance
The following attestation bundles were made for pikadantic-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on karta9821/pikadantic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pikadantic-0.0.1-py3-none-any.whl -
Subject digest:
64ca6f9e09fde663acfbe46722110f3e205508d15b0f3a40dac19d1e0414b508 - Sigstore transparency entry: 208173401
- Sigstore integration time:
-
Permalink:
karta9821/pikadantic@f98f9c17e690d1c2a7c42d0c206e54fe255dcfb1 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/karta9821
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f98f9c17e690d1c2a7c42d0c206e54fe255dcfb1 -
Trigger Event:
release
-
Statement type: