Skip to content

cibere/flogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

666 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flogin

Tests Workflow Status Coverage Report 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.

Warning

This library is still in alpha development, so expect breaking changes

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

About

A wrapper for Flow Lancher's V2 python api using jsonrpc.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages