Skip to main content

Open-RPC Client Generator

Generate clients from Open-RPC APIs.

Supported Languages

  • Python
  • Rust
  • TypeScript

Install

pip install openrpcclientgenerator

CLI Usage

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

Metadata

Release files for openrpcclientgenerator 0.51.7

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

Source distribution (sdist)

Source distribution for openrpcclientgenerator 0.51.7
File Size Uploaded
openrpcclientgenerator-0.51.7.tar.gz 12.2 kB Details

Built distribution (wheel)

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

Total release size: 34.5 kB

Release files / openrpcclientgenerator-0.51.7.tar.gz

Download URL openrpcclientgenerator-0.51.7.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a7ff6d15ff8739a038ee164b74be373f747a21aa54aa12bce57fbfde4f696ea1
BLAKE2b-256 checksum
How to use checksums
2a1bd097a17b9250872008e54063164dcd1742f36ad42e758ecbd80fce128a37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / openrpcclientgenerator-0.51.7-py3-none-any.whl

Download URL openrpcclientgenerator-0.51.7-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
901fd86fdd7ad3fc4bb39c26f740203ef7aef02cf109ea32e8deb28cc0a9448b
BLAKE2b-256 checksum
How to use checksums
15aadb1c8c0318c32d76ccb42fb3ddbb72417733fafc31ea23f5b471af846662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.51.7 This release

2 release files

0.51.5

2 release files

0.51.4

2 release files

0.51.2

2 release files

0.51.1

1 release file

0.49.1

2 release files

0.46.6

2 release files

0.46.5

2 release files

0.46.4

2 release files

0.46.3

2 release files

0.46.2

2 release files

0.46.0

2 release files

0.43.4

2 release files

0.43.3

2 release files

0.43.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