Skip to main content

A python code generator and lib for Nats RPC

Project description

Python NRPC

A python code generator and lib for Nats RPC.

See for more information on NRPC itself.

This package provides a protoc plugin to generate python code from .proto files, respecting the nrpc specifications.

Developer notes

Running tests

Get a 'nats-server' binary in the PATH, you can get the latest release from

Install the test requirements:

pip install -r requirements-test.txt

Run the tests:


If the template changed, you may need to run "" in the examples/alloptions directory.

Generating protobuf files

For regenerating the nrpc protobuf files, make sure the protobuf is installed.

Copy 'nrpc.proto' from the project into the nrpc/ directory.

Then, run the following command:

python protoc

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

python-nrpc-0.0.6.tar.gz (9.4 kB view hashes)

Uploaded source

Built Distribution

python_nrpc-0.0.6-py3-none-any.whl (11.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page