pyFlowLauncher
pyFlowLauncher is an API that allows you to quickly create plugins for Flow Launcher!
Installation
Install via pip:
python -m pip install pyflowlauncher[all]
[!IMPORTANT] Please use the
[all]flag in order to support Python versions older then3.11.
Usage
Basic plugin
A basic plugin using a function as the query method.
from pyflowlauncher import Plugin, Result
plugin = Plugin()
@plugin.on_method
def query(query: str):
yield Result(
title="This is a title!",
subtitle="This is the subtitle!",
icon="icon.png"
)
plugin.run()
Methods decorated with @plugin.on_method can yield one or more Result objects, return a list of Result objects, or return a single Result — the framework normalizes all forms into the correct response automatically.
Advanced plugin
A more advanced usage using a Method class as the query method.
from pyflowlauncher import Plugin, Result, Method
from .models.json_rpc import JsonRPCResponse
plugin = Plugin()
class Query(Method):
def __call__(self, query: str) -> JsonRPCResponse:
r = Result(
title="This is a title!",
subtitle="This is the subtitle!"
)
self.add_result(r)
return self.return_results()
plugin.add_method(Query())
plugin.run()
Metadata
Release files for pyflowlauncher 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyflowlauncher-1.1.2.tar.gz | 17.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyflowlauncher-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.1 kB
Release files / pyflowlauncher-1.1.2.tar.gz
| Download URL | pyflowlauncher-1.1.2.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1b1185013af89d90a3de5e480a151804b1912255b41b54c556cffe6877d77b3
|
|
BLAKE2b-256 checksum How to use checksums |
4c90196e88d3f131256692d1e3010955bba4976c0c1a41a45f1d0ad057b54e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency logRelease files / pyflowlauncher-1.1.2-py3-none-any.whl
| Download URL | pyflowlauncher-1.1.2-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24757ff3f000cffa514d8d05af3014c6118f085066665c323c32e71d2be711f4
|
|
BLAKE2b-256 checksum How to use checksums |
7a3ec79cde396a5b4730e08cc1d8b0a12e5929f06f73fe85e0e69a9978979fd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.
Transparency log