skarv
skarv is a Swedish noun that refers to the point where two things are joined together. Translations to English includes joint, splice, connection and similar words. Interestingly, it is also the swedish word for cormorant (the bird).
What?
A simple, synchronous, thread-safe, single process, in-memory message "broker" written in python.
Why?
Because I wanted the most simplistic API (subjectively) I could possibly think of for processing real-time data from multiple sources to multiple sinks via any intermediate processing setup.
How ?
By re-using the concept of Key Expressions from Zenoh and utilizing in-memory storage for a very simplistic implementation of a message "broker" that supports the following operations:
- Putting data to the broker
- Subscribing to data from the broker
- Getting the latest data from the broker
Usage
Docs are available at https://freol35241.github.io/skarv
import skarv
@skarv.subscribe("any/**")
def _(sample: skarv.Sample):
print(sample.key_expr)
print(sample.value)
skarv.put("any/thing", 42)
samples = skarv.get("any/**")
print(samples)
Installation
pip install skarv
License
Apache 2.0 - see LICENSE file for details.
Metadata
Release files for skarv 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skarv-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for skarv-0.3.0-py3-none-any.whl |
Release files / skarv-0.3.0-py3-none-any.whl
| Download URL | skarv-0.3.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9408ec60841d04e9e88d0d9fb32b3e1edcedc1f1bb09f6527bca5efe6fc08e21
|
|
BLAKE2b-256 checksum How to use checksums |
b2927d125192e629e382c133c304d0e409f8f50a9c395064ac20b32eeda0f314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2025.
Transparency logSecurity for skarv 0.3.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.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for skarv-0.3.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2025.
Transparency logA 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.