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()
Metadata
Release files for Flox-lib 0.20.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flox-lib-0.20.1.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flox_lib-0.20.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.6 kB
Release files / Flox-lib-0.20.1.tar.gz
| Download URL | Flox-lib-0.20.1.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdc81d7093f1bc53f2cf185c08fe1157537f3953ed0879b5212bbd0703f47035
|
|
BLAKE2b-256 checksum How to use checksums |
f0e59948643f51c013484e60f1e281d5396c8feae85fc5b7b4ee70d3655ab25f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / Flox_lib-0.20.1-py3-none-any.whl
| Download URL | Flox_lib-0.20.1-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8863dbcfa34b004b674b3925382fae98cc59e24e0bd176b0ff827acf50aca1e
|
|
BLAKE2b-256 checksum How to use checksums |
0c54397acdff682909d20813ba8b165a0b18b28f392c04e6f7b076a13ec48489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|