Skip to main content

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.

Metadata

Release files for flowlauncher 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowlauncher 0.2.0
File Size Uploaded
flowlauncher-0.2.0.tar.gz 37.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flowlauncher 0.2.0
File Interpreter ABI Platform
flowlauncher-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.5 kB

Release files / flowlauncher-0.2.0.tar.gz

Download URL flowlauncher-0.2.0.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b39f313f56007186aa77865849281ff25b574c69e0cf4831226df159ea4d20da
BLAKE2b-256 checksum
How to use checksums
8e983bb09089aeff1ff560dbc2a85208c0e4f444d28b41fe0f0ac7b265638587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / flowlauncher-0.2.0-py3-none-any.whl

Download URL flowlauncher-0.2.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ec914281a08abb2332125344ccf0ae172428d3388f67a7628db34d24a38bbdd
BLAKE2b-256 checksum
How to use checksums
b515d9bdbec55153d5bce91ade3a27bd1cc7de670097d3055c9a62258a36048e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page