https://github.com/flow-launcher/flow.launcher.jsonrpc.python
Flow Launcher's Python support, via JSON RPC.
https://github.com/flow-launcher/flow.launcher.jsonrpc.python
Last synced: 12 months ago
JSON representation
Flow Launcher's Python support, via JSON RPC.
- Host: GitHub
- URL: https://github.com/flow-launcher/flow.launcher.jsonrpc.python
- Owner: Flow-Launcher
- License: mit
- Created: 2020-09-19T10:32:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T09:59:59.000Z (over 1 year ago)
- Last Synced: 2025-07-02T07:09:02.397Z (12 months ago)
- Language: Python
- Homepage: https://pypi.org/project/flowlauncher
- Size: 117 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flow.Launcher.JsonRPC.Python
[](https://pypi.org/project/flowlauncher/)
[](https://pypi.org/project/flowlauncher/)
Flow Launcher supports Python by JsonRPC.
## JSON-RPC
> [JSON-RPC](https://en.wikipedia.org/wiki/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.
```json
--> {"method": "query", "parameters": [""]}
<-- {"Title": "title", "SubTitle": "sub title", "IconPath": "favicon.ico"}
```
## Installation
### Using `pip`
``` bash
>>> pip install flowlauncher
```
### Using `pip` + `git`
``` bash
>>> pip install git+https://github.com/Flow-Launcher/Flow.Launcher.JsonRPC.Python.git
```
### Using `git`
``` bash
>>> 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) license.
Some of the orignal codes from [JsonRPC/wox.py](https://github.com/Wox-launcher/Wox/blob/master/JsonRPC/wox.py) which is under the [MIT](https://github.com/Wox-launcher/Wox/blob/master/LICENSE) license.