Skip to main content

Edacious an Event Derive Architecture framework

Implementing an EDA usually requires a queue mechanism. Currently support Redis streams and Amazon Web Services SQS.

Event must be a dict that contain data to be processed. Every event must have an event type (str) attribute, reserve key is event-type.

To process an event the event type has to be associated to one or more event handlers.

Event handler is a function that receive an event (dict) and process it, here is an example for running event listener based on Amazon Web Services SQS.

from edacious.sqs import EventListener

SQS_URL = 'https://sqs.my-region.amazonaws.com/123456789012/my-app-sqs'


@event_handler(event_type='hello-world')
def my_handler(event: dict):
    print(event)


if __name__ == '__main__':

listener = EventListener(sqs_url=SQS_URL, visibility_timeout=60, max_messages_to_fetch=10)
listener.set_seconds_to_wait(seconds=2.5)
listener.run()

Metadata

Release files for edacious 0.0.11

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

Source distribution (sdist)

Source distribution for edacious 0.0.11
File Size Uploaded Provenance Actions
edacious-0.0.11.tar.gz 4.7 kB Without provenance Details for edacious-0.0.11.tar.gz

Built distribution (wheel)

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

Total release size: 9.9 kB

Release files / edacious-0.0.11.tar.gz

Download URL edacious-0.0.11.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0b5a86bdc25251c2d001d7465859f6f76cd5a2adbcc8adc108d0001c6e2d1d97
BLAKE2b-256 checksum
How to use checksums
12c8106af18632d2b2d2ecbebd043d18c923b9599832b8278f561dc5a24e43f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / edacious-0.0.11-py3-none-any.whl

Download URL edacious-0.0.11-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91938f576a343a1d80b6ecd75ef07d8d3a589d7f6aaca963cd3ba85d1595c404
BLAKE2b-256 checksum
How to use checksums
4742b7d66dc5f31286eebe4901754b1c1eb8edb1f04cbb1024b4d666f7e89f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Security for edacious 0.0.11

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