Skip to main content

flogin

Tests Workflow Status Build Workflow Status Lint Workflow Status PyPI version info PyPI supported Python versions Stable Documentation Dev/Latest Documentation

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.

Contributing

Contributions are greatly appriciated, I just have a couple of requests:

  1. Your code is run through isort and black

  2. Your code is properly typed

  3. Your code is tested

  4. 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)

Source distribution for flogin 1.1.0
File Size Uploaded
flogin-1.1.0.tar.gz 41.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flogin 1.1.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page