A Python wrapper for Flow Launcher's v2 python api
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file flogin-1.1.0.tar.gz.
File metadata
- Download URL: flogin-1.1.0.tar.gz
- Upload date:
- Size: 41.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21f7f5931478fd60901d0862a86e7c7a53fef0a2ce961073fcd34e2f1e9e8f71
|
|
| MD5 |
efe02652676194cdd83ba366dca4298f
|
|
| BLAKE2b-256 |
3658061deeaf3cfcdc7954d5e1d9f2afac72d52584a1be178f0149dd8df566bb
|
Provenance
The following attestation bundles were made for flogin-1.1.0.tar.gz:
Publisher:
python-publish.yml on cibere/flogin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flogin-1.1.0.tar.gz -
Subject digest:
21f7f5931478fd60901d0862a86e7c7a53fef0a2ce961073fcd34e2f1e9e8f71 - Sigstore transparency entry: 160232488
- Sigstore integration time:
-
Permalink:
cibere/flogin@7ea5e3a2d3ce9d5d0d3ac29b57bc6e9b41fce716 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/cibere
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7ea5e3a2d3ce9d5d0d3ac29b57bc6e9b41fce716 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flogin-1.1.0-py3-none-any.whl.
File metadata
- Download URL: flogin-1.1.0-py3-none-any.whl
- Upload date:
- Size: 48.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c7ce8d15bcdc733e7bde2d35992b9affb9aeb0e44baa650b1236739d9b4b5c
|
|
| MD5 |
085fd08eb900f4a40ba8d853de0bbe94
|
|
| BLAKE2b-256 |
7d75467dbb379ceb40cedc342aa3e2bd4a4dd8598ac35cc7d285de0b598c3254
|
Provenance
The following attestation bundles were made for flogin-1.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on cibere/flogin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flogin-1.1.0-py3-none-any.whl -
Subject digest:
14c7ce8d15bcdc733e7bde2d35992b9affb9aeb0e44baa650b1236739d9b4b5c - Sigstore transparency entry: 160232490
- Sigstore integration time:
-
Permalink:
cibere/flogin@7ea5e3a2d3ce9d5d0d3ac29b57bc6e9b41fce716 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/cibere
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7ea5e3a2d3ce9d5d0d3ac29b57bc6e9b41fce716 -
Trigger Event:
release
-
Statement type: