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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flowlauncher-0.2.0.tar.gz.
File metadata
- Download URL: flowlauncher-0.2.0.tar.gz
- Upload date:
- Size: 37.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b39f313f56007186aa77865849281ff25b574c69e0cf4831226df159ea4d20da
|
|
| MD5 |
96b5900855b64c23dec660e8579f2663
|
|
| BLAKE2b-256 |
8e983bb09089aeff1ff560dbc2a85208c0e4f444d28b41fe0f0ac7b265638587
|
File details
Details for the file flowlauncher-0.2.0-py3-none-any.whl.
File metadata
- Download URL: flowlauncher-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ec914281a08abb2332125344ccf0ae172428d3388f67a7628db34d24a38bbdd
|
|
| MD5 |
05beab3f3780156a59ee30dc88ab51c6
|
|
| BLAKE2b-256 |
b515d9bdbec55153d5bce91ade3a27bd1cc7de670097d3055c9a62258a36048e
|