Skip to main content

REST-RPC

REST-RPC is a Python library that makes writing type-checked REST APIs easy (by allowing you to define your API once and use it on both the server and the client).

It automatically creates convenient front-end bindings to your API for you, so from the front-end developer's perspective it's indistinguishable from an RPC library, hence the name.

REST-RPC's type-checking is based on Pydantic. For the back-end, it used FastAPI. For the front-end, it supports requests, urllib3, httpx, and aiohttp (or provide your own transport layer). If you want to use REST-RPC in the webbrowser, you can: It supports pyodide's pyfetch and pyscript's fetch! This means that the only "hard" dependency is pydantic. Of course, you'll need FastAPI in the back-end and one of the mentioned HTTP libraries for the front-end.

REST-RPC is for you, if you:

  • …like FastAPI and Pydantic.
  • …just want to write simple type-checked REST APIs without frills.
  • …don't want to repeat yourself when writing the front-end code.

Visit the GitHub page for more information.

Release files for rest-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 rest-rpc 0.1.3
File Size Uploaded
rest_rpc-0.1.3.tar.gz 10.8 kB Details

Built distribution (wheel)

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

Total release size: 24.2 kB

Release files / rest_rpc-0.1.3.tar.gz

Download URL rest_rpc-0.1.3.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e01cff4e768fb0ad4d9b6ef2485f62afd14bca7513eb8359b7a37f53937f2da
BLAKE2b-256 checksum
How to use checksums
0fef67bd7c6ca0612c9a0837535d18c14bd6ddaba665da96fb066a1ea12ca9a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.8

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

Download URL rest_rpc-0.1.3-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b53a4ea1d4cf23f2302d8e7bc1792946565a27f126ab9e06a732d534e4e27d91
BLAKE2b-256 checksum
How to use checksums
0a7e78eb8bf8cc7a0e3dfbf134467b8fdb06a71ebbaa1b8c785a989b34fa300b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.8

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