REPL

The following command provides you with an interface to a BovineClient for comfortable use through a REPL. Either a config file or domain and secret (an Ed25519 private key) must be specified. By default the config file bovine_user.toml will be used. It has the format

domain = "DOMAIN"
secret = "ed25519 private key"

Using the repl requires the ptpython package, which can be installed via bovine[repl].

Example usage:

>>> remote_id = (await client.proxy_element('helge@mymath.rocks'))["id"]
>>> note = object_factory.note(to={remote_id}, content="moooo").build()
>>> create = activity_factory.create(note).build()
>>> await client.send_to_outbox(create)