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.18.1.tar.gz
(10.1 kB
view hashes)
Built Distribution
Flox_lib-0.18.1-py3-none-any.whl
(11.6 kB
view hashes)
Close
Hashes for Flox_lib-0.18.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b1cdd81f2d50b6c936fc61ba2f1ef66b7407ec706d33a17b3eb57916cd1e8f |
|
MD5 | 3e20e0ce46332d639e594826be303f8c |
|
BLAKE2b-256 | ca345c73a6c7d3853cb657e35b7a289a2ec74ed6b7e9e0a8b8af4edf511c172d |