bovine_tool
This package is deprecated with bovine 0.5.5 use python -m bovine_store instead.
bovine_tool provides a CLI interface to manage bovine.
Configuration
The default database connection is "sqlite://bovine.sqlite3". This can be overridden with the environment variable "BOVINE_DB_URL".
Quick start
To register a new user with a FediVerse handle use
python -m bovine_tool.register fediverse_handle [--domain DOMAIN]
the domain must be specified. This creates the account acct:fediverse_handle@DOMAIN.
Managing users
python -m bovine_tool.manage bovine_name
displays the user.
To add a did key for the Moo Client Registration Flow with a BovineClient use
python -m bovine_tool.manage bovine_name --did_key key_name did_key
Furthermore, using --properties the properties can be over written.
Cleaning the database
python -m bovine_tool.cleanup
to delete all remote objects older than 3 days. This should be expanded to make the variables configurable and delete a bunch of other stuff, e.g.
- remove inbox, outbox entries older than 14 days
- have a "timeline" of outbox entries to display on a public profile
- remove all local entries not in inbox, outbox, or timeline
- remove deleted items older than 1 month
- make time frames configurable
Cleanup inbox collections
Try
delete from collectionitem where part_of in (select name from bovineactorendpoint where stream_name='INBOX') and created < (current_date - interval '7 day');
Metadata
Release files for bovine-tool 0.5.6
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 | |
|---|---|---|---|---|
| bovine_tool-0.5.6.tar.gz | 3.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bovine_tool-0.5.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / bovine_tool-0.5.6.tar.gz
| Download URL | bovine_tool-0.5.6.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14e97d1f7a1641175f5fe2dafd97e319762b2b067c8e63542257591f673ff657
|
|
BLAKE2b-256 checksum How to use checksums |
6fe65f8076129057b2204574e75400339511cf7891cb857dd69fc6e13f20498f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.1.0-13-amd64
|
Release files / bovine_tool-0.5.6-py3-none-any.whl
| Download URL | bovine_tool-0.5.6-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de15ea28eae224229b5df55c06456f3365e87689b2a2828fdb427b73b14aedc0
|
|
BLAKE2b-256 checksum How to use checksums |
6c23930edcb358e833facbee5ab746bd3132627535340f9e32daa326ad81745c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Linux/6.1.0-13-amd64
|
Security for bovine-tool 0.5.6
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.