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 | Provenance | Actions |
|---|---|---|---|---|
| Flox-lib-0.20.1.tar.gz | 11.9 kB | Without provenance | Details for Flox-lib-0.20.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Flox_lib-0.20.1-py3-none-any.whl | Python 3 | none | any | Details for Flox_lib-0.20.1-py3-none-any.whl |
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
|
Security for Flox-lib 0.20.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.