Flow Launcher supports Python by JsonRPC.
Project description
Flow.Launcher.JsonRPC.Python
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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flowlauncher-0.1.2rc3.tar.gz
(37.4 kB
view hashes)
Built Distribution
Close
Hashes for flowlauncher-0.1.2rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f3c848eb6e3e7e53f8c604d143203f1f96ee0cc428effb5bbeff4e41dfd631 |
|
MD5 | 7160635a232a8ae253f8b411d523c96f |
|
BLAKE2b-256 | 7b4488783b8f5c1dbf8bdf03775b844b5f8a1d5923865817b28fb6c2fd61da02 |