Django adapter for damn simple JSON-RPC Server
Project description
JSON RPC-Server adaptor for Django
This is a Django adaptor for Damn Simple JSON RPC Server
Compatibility
- Django 2.x, Python 3.8
- Django 3.x/4.x, Python 3.9/3.10
- Django 4.x/5.0, Python 3.10/3.11/3.12
- Django 5.1/5.2, Python 3.10/3.11/3.12/3.13
Installation
pip install damn-simple-jsonrpc-server-django
Configure Django project
Add jsonrpcdjango to INSTALLED_APPS
(settings.py)
INSTALLED_APPS = [
# ...
'jsonrpcdjango'
]
Expose services in urlpatterns:
(urls.py)
from django.urls import path
from jsonrpcdjango import serve
from calculator_service import calculator
urlpatterns = [
path('', serve, {'service': calculator}, name='calculator'),
]
Project details
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 damn_simple_jsonrpc_server_django-0.5.tar.gz.
File metadata
- Download URL: damn_simple_jsonrpc_server_django-0.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d53e158788999ff1145309f1e87e4443137110e313c2abad8c6eee680f2fee7
|
|
| MD5 |
7601574ecdb7ac7a147af74cbb1ceb70
|
|
| BLAKE2b-256 |
d7fd40c7b80c61f827216930d43c1507f8b1faaa9b4a8cf4e07f0809ab05c242
|
File details
Details for the file damn_simple_jsonrpc_server_django-0.5-py3-none-any.whl.
File metadata
- Download URL: damn_simple_jsonrpc_server_django-0.5-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5badfd3c7a22c74efdd8866d7a773b77a5847f79f0140ddb0ed2cdde640f19ee
|
|
| MD5 |
d144155c6f39fcab5b8409b8418db5ef
|
|
| BLAKE2b-256 |
24041eacbccf610ba7c79b1feb8ea82d00993c086ce85e85b31920bacb4f6012
|