Skip to main content

pikantic

PyPI PyPI - Python Version PyPI License Code Style: black

Python library for easy message broker handling using Pydantic

Basic Usage

import pikantic
from pydantic import BaseModel

app = pikantic.Pikantic(AMQP_URI)


class PersonModel(BaseModel):
    name: str
    age: int


@app.on_rabbit('test_queue')
async def handle_message(msg: aio_pika.Message, person: PersonModel):
    print(msg.body)
    print(person.age)


if __name__ == '__main__':
    app.run()

Metadata

Release files for pikantic 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pikantic 0.1.2
File Size Uploaded Provenance Actions
pikantic-0.1.2.tar.gz 3.7 kB Without provenance Details for pikantic-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pikantic 0.1.2
File Interpreter ABI Platform Actions
pikantic-0.1.2-py3-none-any.whl Python 3 none any Details for pikantic-0.1.2-py3-none-any.whl

Total release size: 7.2 kB

Release files / pikantic-0.1.2.tar.gz

Download URL pikantic-0.1.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
72e47a0911baeb82a5553b89086d864890e67a864537e061b74bc6a8cdd26400
BLAKE2b-256 checksum
How to use checksums
640deddf2eed2704251e30e7a5ee06c9c98038233b83a7d505d8617316f38678
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.5 Windows/10

Release files / pikantic-0.1.2-py3-none-any.whl

Download URL pikantic-0.1.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6a932f01146f1f0bd412e5cf8fc1839422cf5ceeeb633c4408c19a383967e39
BLAKE2b-256 checksum
How to use checksums
51bad43fd622ed0dbc4b84ee9c146e2c3c6f9756e91fb45b4ef570ef9a3182f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.5 Windows/10

Security for pikantic 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page