almabtrieb
This is a client library for the CattleDrive protocol as used by cattle_grid. This protocol is still somewhat in development.
This library enables one to create applications using cattle_grid as a middle ware to connect to the Fediverse. Examples:
- cattle_grid_rss, see also the deployed version at rss.bovine.social.
- roboherd
Supported protocols
Currently, supported are connection strings starting with amqp, amqps, mqtt, mqtts, ws, and wss.
Authentication is relegated to the underlying protocol.
Development
Run tests with
uv run pytest
This will lead to a lot of skipped tests. By running
uv sync --all-extras
you can install the amqp and mqtt libraries and thus run more tests. For the tests against an actual connection, see the next subsection.
Running tests against a running cattle_grid instance
Create an account on cattle_grid with
python -mcattle_grid account new almabtrieb password --admin
Then with cattle grid running one can run
CONNECTION_STRING=mqtt://almabtrieb:password@localhost:11883 \
uv run pytest almabtrieb/test_real.py
CONNECTION_STRING=ws://almabtrieb:password@localhost:15675/ws \
uv run pytest almabtrieb/test_real.py
CONNECTION_STRING="amqp://almabtrieb:password@localhost:5672/" \
uv run pytest almabtrieb/test_real.py
Metadata
Release files for almabtrieb 0.3.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 | |
|---|---|---|---|---|
| almabtrieb-0.3.0.tar.gz | 319.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| almabtrieb-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 343.0 kB
Release files / almabtrieb-0.3.0.tar.gz
| Download URL | almabtrieb-0.3.0.tar.gz |
|---|---|
| Size | 319.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ef1d4524a05597cda4dd33c86ef84aacef2184764014beca1e0316c70651b2e
|
|
BLAKE2b-256 checksum How to use checksums |
03d27b8e204c11c16b2b04bfa393d4455ea9b9e54d238e24ed4a56c4fbd91040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / almabtrieb-0.3.0-py3-none-any.whl
| Download URL | almabtrieb-0.3.0-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95834e136fcdb0fe823af1471d220846f6e7708ad92afa3c8931f65fdaaf4272
|
|
BLAKE2b-256 checksum How to use checksums |
1c97ca1fbd85caf564fc852f6f2962857716660b02c907c2fa6f78536e1a0eaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for almabtrieb 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.
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.