Python library to help build Flow Launcher and Wox plugins.
Project description
FLOX
Flox is a Python library to help build Flow Launcher and Wox plugins
Flox adds many useful methods to speed up plugin development
Heavily inspired from the great work done by deanishe at: deanishe/alfred-workflow
Installation
PIP install from pypi
pip install flox-lib
PIP install from github
pip install git+https://github.com/garulf/flox.git
Basic Usage
from flox import Flox
import requests
# have your class inherit from Flox
class YourClass(Flox):
def query(self, query):
for _ in range(250):
self.add_item(
title=self.args,
subtitle=str(_)
)
def context_menu(self, data):
self.add_item(
title=data,
subtitle=data
)
if __name__ == "__main__":
YourClass()
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
Flox-lib-0.19.2.tar.gz
(11.9 kB
view hashes)
Built Distribution
Flox_lib-0.19.2-py3-none-any.whl
(13.6 kB
view hashes)
Close
Hashes for Flox_lib-0.19.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d28e56d2c215ac2d7f9631140ee91a2fe189722b4d2d1021a8ee5949a652e31 |
|
MD5 | cd2e5e1a7f745040291fa9b76427b1e3 |
|
BLAKE2b-256 | d22ca625a3cbeb53664904af70a29d22890e7cfda1d77739a0aa6482fd58ae1c |