flogin
A wrapper for Flow Lancher’s V2 jsonrpc api using python, to easily and quickly make Flow launcher plugins.
Key Features
Modern Pythonic API using async and await.
Fully Typed
Easy to use with an object oriented design
Installing
Python 3.11 or higher is required
To install flogin, do the following:
pip install flogin
To install the development version, ensure git is installed, then do the following:
pip install git+https://github.com/cibere/flogin
Basic Example
from flogin import Plugin, Query
plugin = Plugin()
@plugin.search()
async def on_query(data: Query):
return f"You wrote {data.text}"
plugin.run()
You can find more examples in the examples directory.
Links
Contributing
Contributions are greatly appriciated, I just have a couple of requests:
Your code is run through isort and black
Your code is properly typed
Your code is tested
Your code is documented
Release files for flogin 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flogin-1.1.0.tar.gz | 41.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flogin-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 89.3 kB
Release files / flogin-1.1.0.tar.gz
| Download URL | flogin-1.1.0.tar.gz |
|---|---|
| Size | 41.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21f7f5931478fd60901d0862a86e7c7a53fef0a2ce961073fcd34e2f1e9e8f71
|
|
BLAKE2b-256 checksum How to use checksums |
3658061deeaf3cfcdc7954d5e1d9f2afac72d52584a1be178f0149dd8df566bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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 Jan 7, 2025.
Transparency logRelease files / flogin-1.1.0-py3-none-any.whl
| Download URL | flogin-1.1.0-py3-none-any.whl |
|---|---|
| Size | 48.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14c7ce8d15bcdc733e7bde2d35992b9affb9aeb0e44baa650b1236739d9b4b5c
|
|
BLAKE2b-256 checksum How to use checksums |
7d75467dbb379ceb40cedc342aa3e2bd4a4dd8598ac35cc7d285de0b598c3254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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 Jan 7, 2025.
Transparency log