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.17.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Flox_lib-0.17.1-py3-none-any.whl
(11.7 kB
view hashes)
Close
Hashes for Flox_lib-0.17.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502a8228a58d82818b094a9afd219fce64fd2d13e4b9d285b41158f43bc5f7bf |
|
MD5 | dfc0c6cc6ffaa27a9f656e4e2b6c9db1 |
|
BLAKE2b-256 | 0e0caf2008d7384ec1e43fea797dbcccb2cc19b44d7a69dd929f9d90f3e004d5 |