Basic tools to administrate a bovine herd
Project description
bovine_tool
bovine_tool provides a CLI interface to manage bovine.
Configuration
The default database connection is "sqlite://bovine.sqlite3". This can be overwridden 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.
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
Todo
- Add ability to import/export all data associated with an actor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bovine_tool-0.2.4.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for bovine_tool-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4baa3a444ed19fb2a623078c60c8602dcafe9b79acae16f76bb0611d7037c78 |
|
MD5 | d6811c186343c531ebaf7a162e087c6c |
|
BLAKE2b-256 | 7217ad45ba85d8946ffc409f1b302b86403d1693ca5bf4631db388630eb7e600 |