Skip to main content

fire-rpc

Turn fire command line into RPC server.

Installation

pip install fire-rpc

Example

fire-rpc provides a built-in echo server to demonstrate how to use it.

To start the echo server, run the following command:

# Note that the yes command is used to workaround the interactive mode of fire
yes | python -m fire_rpc /echo --port 8000

To call the echo server, run the following command:

url -X POST http://localhost:8000/echo -H "Content-Type: application/json" -d '{"args":["Hello World"]}'

The echo server will return the following response:

{"result": {"args": ["Hello World"], "kwargs": {}}}

Metadata

Release files for fire-rpc 0.1.3

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

Source distribution (sdist)

Source distribution for fire-rpc 0.1.3
File Size Uploaded
fire_rpc-0.1.3.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fire-rpc 0.1.3
File Interpreter ABI Platform
fire_rpc-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / fire_rpc-0.1.3.tar.gz

Download URL fire_rpc-0.1.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c50e3a3202ab7b2159a3676b84be045abb71d3abcbc8dc6a5de86132e9b9ac88
BLAKE2b-256 checksum
How to use checksums
dd43684f72d321630ad2ca18f8a0dbd2ceef15c274e8c05e9deb29d1cc1963a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.12 Linux/5.15.167.4-microsoft-standard-WSL2

Release files / fire_rpc-0.1.3-py3-none-any.whl

Download URL fire_rpc-0.1.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38dcf5ec521e41a19ebb38526c2343b761739ae094f3a7a79d1699afbca5c2e3
BLAKE2b-256 checksum
How to use checksums
fe4e23b5cf89398e347d450c54264e04a7ec17a2a85da8f67aad5e05867cce4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.12 Linux/5.15.167.4-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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