Home

Navigation

Home

RPC is a network protocol used to call functions on another system or web server through HTTP POST requests. It has been around for decades and is one of the predecessors of modern Web API protocols (REST, GraphQL, etc.).

While newer alternatives exist, there are still use-cases where XML-RPC or JSON-RPC servers are needed. Django-modern-rpc helps you set up such a server as part of your Django project. It provide a simple and pythonic API to expose global functions to be called from other websites or programs.

Version 2.0 brings significant improvements to the library, including a more intuitive API, better error handling, reworked authentication system, improved type annotations, and more flexible configuration options.

PyPI - License GitHub issues PyPI GitHub Release Date

Getting started

Important

django-modern-rpc requires Python 3.8+ and Django 3.2+. If you need to install it in environment with older Python / Django versions, you must install a previous release. See Changelog for more information.

Installing the library and configuring a Django project to use it can be achieved in a few minutes. Follow Quickstart for very basic setup process. Later, when you will need to configure more precisely your project, follow other topics in the menu.