Skip to main content

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.

Flogin’s documentation can be viewed online

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.event
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

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

flogin-0.0.5.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flogin-0.0.5-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file flogin-0.0.5.tar.gz.

File metadata

  • Download URL: flogin-0.0.5.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for flogin-0.0.5.tar.gz
Algorithm Hash digest
SHA256 280a6ca49606e52638ece41431964b263842d97dd736f01491f7a49dec4fdbd7
MD5 1bf977c4f267b3cd5a08dd40039d3e52
BLAKE2b-256 09ca19f4d493d9c2d800eb21d8faaa2cdbb025cea42793371791b77ce06b32d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for flogin-0.0.5.tar.gz:

Publisher: python-publish.yml on cibere/flogin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flogin-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: flogin-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for flogin-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fb65d27ca6a2d7fb82b488e344b9e72a98a7b24a7e195ca8d6290b872fb9dbbe
MD5 dc175a74f7e3c546ea196e5c293a72e7
BLAKE2b-256 664ae7f3330348eee82ad9b227d496227d0d3074d05d5656ed6a666fe37d2b29

See more details on using hashes here.

Provenance

The following attestation bundles were made for flogin-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on cibere/flogin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page