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.

Key Features

  • Modern Pythonic API using async and await.

  • Fully Typed

  • Easy to use with an object oriented design

Installing

Python 3.12 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.2.tar.gz (20.5 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.2-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flogin-0.0.2.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for flogin-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bc8da04d48ac4f7d038aeee3b7b7f85aa123f8a7ebefa78e7a0a42c6b70a1135
MD5 5c19538a95bdcebea993fd59b418469d
BLAKE2b-256 b1928a28b7825df952c962ef539aac5a4714751482d72efbd99007aa05fcd8d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flogin-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for flogin-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30cadefdb2d052b0564432fbddf2039c310e5e4f5a8c618731f2b5cfdb0a21fe
MD5 0df005e0a93119bfac01cc06e8ec207c
BLAKE2b-256 443bbf6be03d11f6d18eb49e1792c4ffc566628a741c5f654f397037bf0bda4b

See more details on using hashes here.

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