Skip to main content

Pikadantic provides robust data validation for RabbitMQ messaging

Project description

Pikadantic

MIT License

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 install to install dependencies.
  • Ensure 100% test coverage for your changes.
  • Open a pull request and tag @karta9821 as 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pikadantic-0.0.1.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

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

pikadantic-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for pikadantic-0.0.1.tar.gz
Algorithm Hash digest
SHA256 11c6823bdf229932dbde524e6f21b09fdb021827ced96bfa089677daf956a865
MD5 6dd146e095e10c41ef089c265937c900
BLAKE2b-256 cfb8458d4943c30171b591a43001b7aa35cfcee13f0edbea68501b416baced98

See more details on using hashes here.

Provenance

The following attestation bundles were made for pikadantic-0.0.1.tar.gz:

Publisher: publish.yml on karta9821/pikadantic

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

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

Hashes for pikadantic-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64ca6f9e09fde663acfbe46722110f3e205508d15b0f3a40dac19d1e0414b508
MD5 64202c7fca0342d59fbdb9844ef61869
BLAKE2b-256 f1edc4cbbf98003542e6323099a38165276d0e5dbd2dc5afbc43b04066423dbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pikadantic-0.0.1-py3-none-any.whl:

Publisher: publish.yml on karta9821/pikadantic

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