Quick and dirty plugin to run something when Plover starts.
Project description
plover-startup-py
Quick and dirty plugin to run something when Plover starts.
About plugin
This plugin should only used for testing purposes. See also:
- user202729/plover-debugging-console: A IPython debugging console for Plover.
- user202729/plover-run-py: Command plugin for Plover to run an arbitrary Python command.
Installation
The package can be installed from pip or GitHub.
Configuration
You need to create a file named plover_startup_py_config.py
in Plover's configuration folder
(see https://plover.readthedocs.io/en/latest/api/oslayer_config.html#plover.oslayer.config.CONFIG_DIR
for where it is exactly)
The file must define two functions start
and stop
, each receives the engine as the only input parameter:
def start(engine):
pass
def stop(engine):
pass
They will be called when the plugin starts/stops (which is normally when Plover starts/exits)
Usage
Go to "Plugins" tab of Plover configuration, enable the plugin named "plover_startup_py".
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for plover_startup_py-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96c790b3f208740ff8dfcc7687a5b197e74cdbebbf995ff8f358ca7d8654613a |
|
MD5 | f84bd97ee4c6ce7d2f1c623c473ee7db |
|
BLAKE2b-256 | 1f008488d833765309c66e1f86b2a08ad4ce34a4e800dd82bb9b6c25ff824538 |