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.15.0.tar.gz
(10.0 kB
view hashes)
Built Distribution
Flox_lib-0.15.0-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for Flox_lib-0.15.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51583813071552657af486801f54324b7dfb1eacdc0e74e5d71259f40564f063 |
|
MD5 | 8b548d2c57892a42d9a7cbf641abd6fc |
|
BLAKE2b-256 | 613b96e5eb768b60929d0c535d303e9e633bd1972dc2dfec81bcca63ad0fd578 |