Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flow.Launcher.JsonRPC.Python

PyPI pyversions

Flow Launcher supports Python by JsonRPC.

JSON-RPC

JSON-RPC is a remote procedure call protocol encoded in JSON.

In Flow Launcher, we use JSON-RPC as a local procedure call protocol to bind Flow and other program languages.

So we need to build a common API between Flow and Plugin.

JsonRPC

Example

  • --> denotes data sent to FLow.
  • <-- denotes data coming from Flow.
--> {"method": "query", "parameters": [""]}
<-- {"Title": "title", "SubTitle": "sub title", "IconPath": "favicon.ico"}

Installation

Using pip

>>> pip install flowlauncher

Using pip + git

>>> pip install git+https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git

Using git

>>> git clone https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git
>>> cd Flow.Launcher.JsonRPC.Python
>>> python setup.py install

License

This project is under the MIT license.

Some of the orignal codes from JsonRPC/wox.py which is under the MIT license.

About

Flow Launcher's Python support, via JSON RPC.

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages