bovine_store
Note: Development of bovine_store will probably be discontinued
bovine_store is meant to be the module handling storing of
local ActivityPub objects and caching of remote ActivityPub
objects.
Usage
bovine_store assumes that a database connection is initialized using tortoise-orm. See examples/basic_app.py for how to do this in the context of a quart app.
TODO
- When properties of actor are updated, send an update Activity
- Doesn't fit into the current bovine framework ... bovine_store doesn't know how to send activities
- Generally rework the actor properties mechanism. It is currently not possible to emulate say Mastodon featured collection with it.
- bovine_store.models.BovineActorKeyPair needs renamings; and work, e.g. a future identity column should have a uniqueness constraint.
- Generally the code quality is not as high as it should be.
Examples
A demonstration webserver can be seen using
poetry run python examples/basic_app.py
Note this is a very basic example. Instructions what the example does are printed to the command line after start.
Note: This example creates two files db.sqlite3, which contains the
database and context_cache.sqlite, which contains the cache of json-ld
contexts.
Running tests
For sqlite3
poetry run pytest
For postgres
BOVINE_DB_URL=postgres://postgres:secret@postgres:5432/postgres poetry run pytest
Metadata
Release files for bovine-store 0.5.19
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 |
|---|---|---|---|---|
| bovine_store-0.5.19.tar.gz | 68.6 kB | Without provenance | Details for bovine_store-0.5.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bovine_store-0.5.19-py3-none-any.whl | Python 3 | none | any | Details for bovine_store-0.5.19-py3-none-any.whl |
Total release size: 101.7 kB
Release files / bovine_store-0.5.19.tar.gz
| Download URL | bovine_store-0.5.19.tar.gz |
|---|---|
| Size | 68.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2159f0676e26b04ffc23076159888befc3734972dbf6227c8dff1b6389c3641
|
|
BLAKE2b-256 checksum How to use checksums |
d5aeed8ee5d832ab851ee60fd07e40c8db47b66b258176b51d86eb56ef6da7a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.12.32+bpo-amd64
|
Release files / bovine_store-0.5.19-py3-none-any.whl
| Download URL | bovine_store-0.5.19-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff0b0056e601300499c127a4be7d263eaadfc14fc382c902a469579ce3b39c61
|
|
BLAKE2b-256 checksum How to use checksums |
8e3555fbddf401b8b7004d76d74b4b383075d731aa0d04f02c718d07387984d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.12.32+bpo-amd64
|
Security for bovine-store 0.5.19
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.