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 devolpment
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.14.0.tar.gz
(9.9 kB
view hashes)
Built Distribution
Flox_lib-0.14.0-py3-none-any.whl
(11.2 kB
view hashes)
Close
Hashes for Flox_lib-0.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c65d18d8f6b9b0501719ca8ac07c370dc4ec77292becfb179c61d1489f277b9 |
|
MD5 | 7bed937a66c26c8ebcac58dddf95e6e4 |
|
BLAKE2b-256 | dcbdb1fc5f2485df0c098a2f05df110e9f9a041756afebf6d46f1760da266f14 |