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__":
your_class = YourClass()
your_class.run()
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.20.1.tar.gz
(11.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
Flox_lib-0.20.1-py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file Flox-lib-0.20.1.tar.gz.
File metadata
- Download URL: Flox-lib-0.20.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdc81d7093f1bc53f2cf185c08fe1157537f3953ed0879b5212bbd0703f47035
|
|
| MD5 |
f1f30ebc1d36c1b3680dbb07f6275f8d
|
|
| BLAKE2b-256 |
f0e59948643f51c013484e60f1e281d5396c8feae85fc5b7b4ee70d3655ab25f
|
File details
Details for the file Flox_lib-0.20.1-py3-none-any.whl.
File metadata
- Download URL: Flox_lib-0.20.1-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8863dbcfa34b004b674b3925382fae98cc59e24e0bd176b0ff827acf50aca1e
|
|
| MD5 |
f24f56a297abcc0e4a8125f2e54b11b6
|
|
| BLAKE2b-256 |
0c54397acdff682909d20813ba8b165a0b18b28f392c04e6f7b076a13ec48489
|