Generate clients from an Open-RPC document.
Project description
Open-RPC Client Generator
Generate clients from Open-RPC APIs.
Supported Languages
- Python
- Rust
- TypeScript
CLI
To see options.
orpc --help
Generate a Client
Call orpc passing as arguments the language to generate client for, the URL of the API, and the out directory to write the generated files to.
If no argument is passed for out it will default to ./out/.
By default it will look for an openrpc.json file in the active directory.
If it finds no file it will call the rpc.discover method of the given URL.
orpc rust "http://127.0.0.1:1737" ./out
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 openrpcclientgenerator-0.50.2.tar.gz.
File metadata
- Download URL: openrpcclientgenerator-0.50.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdad841dfc85dd80c79c03249e59bcb3a5209574107e70110f49dae5c5419d29
|
|
| MD5 |
83b6a835cf34e3b00ee55da10473d082
|
|
| BLAKE2b-256 |
521e1f42bb6cc552cc0df470025b7715e6b758b1c9fa116d8ab34a513cf24cfe
|
File details
Details for the file openrpcclientgenerator-0.50.2-py3-none-any.whl.
File metadata
- Download URL: openrpcclientgenerator-0.50.2-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e09631b37d2e148b39beeba5e23687a571bbcec9d6babb5a18cd60e2c2802124
|
|
| MD5 |
e79d2900b96a79b3804b38596210c0c8
|
|
| BLAKE2b-256 |
214b60e8551d6dbebceedae759c95de0b896bcc619bc07ca04e8ea47213ba8dd
|