Skip to main content

gRPC for Django

Project description

gRPC for Django inspired by djangorestframework.


The full documentation is at


Install django-grpc-framework:

pip install django-grpc-framework

Add it to your INSTALLED_APPS:


Create your grpc app:

python grpcstartapp <app_name>

Define your proto in <app_name>/<app_name>.proto.

Add your app to GRPC_APPS:


Generate protocol buffer compiler:

python grpcgenerate

Create your service in <app_name>/

Start a grpc server with your apps:

python grpcrunserver


  • support async
  • more interceptors

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox


0.1.0 (2020-02-11)

  • First release on PyPI.

0.2.0 (2020-02-23)

  • Add tests and docs.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-grpc-framework, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size django_grpc_framework-0.3.0-py2.py3-none-any.whl (21.4 kB) File type Wheel Python version 3.7 Upload date Hashes View
Filename, size django-grpc-framework-0.3.0.tar.gz (16.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page