Django-modern-rpc is a Django library that help you to enable a JSON and XML-RPC server in your application. It is easy to install and configure, and highly customizable. This website show the library in action. The current running version is 1.1.0.
You can try the library right now. Simply make RPC calls using your preferred client to the address
https://modernrpc.onrender.com/rpc
Simply raises a custom exception
No documentation on return types available yetReturn an instance of python builtin Fraction class, which cannot be serialized
No documentation on return types available yetAdd termA and termB, end return the result
Divide the dividend by the divisor
Returns a list of all methods available in the current entry point
Returns the documentation of the given method name.
Returns an array describing the signature of the given method name.
The result is an array with: - Return type as first elements - Types of method arguments from element 1 to N
Call multiple RPC methods at once.
Inspect request to extract the Content-Type heaser if present. This method demonstrate how a RPC method can access the request object.
Note: you can also get this list of all method on dedicated page .
The source code of this website is available on GitHub.
If you use this library in your project and want to help increasing its visibility, just go to djangopackages and vote for the library. Thank you !