The lightweight library for async messaging nobody expects.
Installation
pip install eric-sse
Versioning
Starting from 3.0.0, the project follows semantic versioning.
Related packages
Not yet updated for 3.0.0: use them with eric-sse 2.x.
- https://pypi.org/project/eric-redis-queues/ Redis integration
- https://pypi.org/project/eric-api/ FastApi microservice
Features
- Send to one connection or broadcast to all of them
- SSE format was adopted by design, making the library suitable for such kind of model
- Parallel message processing in an executor
- Optional persistence layer, with pluggable storage engines and a builder that wires it
- Error handlers, with Dead Letter and Reliable Queue (explicit ack) patterns
- Sockets server prefab for offline inter process communication
- Profiling decorators for queues and listeners
- Contracts: test suites to verify your own storages, queues and channels
- Python 3.10 to 3.14
Possible applications
- Message delivery mechanisms based on Server Side Events model
- Message queue processing (logging, ETL, http based notification systems, etc)
Documentation
- Reference https://laxertu.github.io/eric
- Tutorials https://laxertu.github.io/eric/tutorials.html
- A good example of usage is eric api service definition: https://github.com/laxertu/eric-api/blob/master/eric_api.py (eric-sse 2.x)
- Some more example about other usages of the library: https://github.com/laxertu/eric/tree/master/examples
Trivia
- Library name pretends to be a tribute to the following movie https://en.wikipedia.org/wiki/Looking_for_Eric
Metadata
Release files for eric-sse 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eric_sse-3.0.0.tar.gz | 30.2 kB | Without provenance | Details for eric_sse-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eric_sse-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for eric_sse-3.0.0-py3-none-any.whl |
Total release size: 71.3 kB
Release files / eric_sse-3.0.0.tar.gz
| Download URL | eric_sse-3.0.0.tar.gz |
|---|---|
| Size | 30.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e34bf0ef219358ade276841070b5e19efd800cd038423e83b70d75bfb565484
|
|
BLAKE2b-256 checksum How to use checksums |
dce0295d0286e3897466dc31aafb337ab85bd8d9b5b492eb36d5c129ee59ec94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.10.12 Linux/6.8.0-149-generic
|
Release files / eric_sse-3.0.0-py3-none-any.whl
| Download URL | eric_sse-3.0.0-py3-none-any.whl |
|---|---|
| Size | 41.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ffd898d2d8df79d73dcf1fb6e82aee93f0b35368636b12525ee3187189cb87d
|
|
BLAKE2b-256 checksum How to use checksums |
bd62f5b44cbf091b7f3bf94beaca604ed9198a9669c5f01d21b07200482b1fb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.10.12 Linux/6.8.0-149-generic
|
Security for eric-sse 3.0.0
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.