A wrapper for Flow Lancher's V2 jsonrpc api using python, to easily and quickly make Flow launcher plugins.
Warning
This library is still in alpha development, so expect breaking changes
- Modern Pythonic API using
asyncandawait. - Fully Typed
- Easy to use with an object oriented design
Python 3.11 or higher is required
To install flogin, do the following:
pip install floginTo install the development version, ensure git is installed, then do the following:
pip install git+https://github.com/cibere/floginfrom flogin import Plugin, Query
plugin = Plugin()
@plugin.search()
async def on_query(data: Query):
return f"You wrote {data.text}"
plugin.run()You can find more examples in the examples directory.