A python code generator and lib for Nats RPC
Project description
Python NRPC
A python code generator and lib for Nats RPC.
See https://github.com/nats-rpc/nrpc 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 https://github.com/nats-io/nats-server/releases.
Install the test requirements:
pip install -r requirements-test.txt
Run the tests:
pytest
Generating protobuf files
For regenerating the nrpc protobuf files, make sure the protobuf is installed.
Copy 'nrpc.proto' from the https://github.com/nats-rpc/nrpc project into the nrpc/ directory.
Then, run the following command:
python setup.py 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
Built Distribution
Hashes for python_nrpc-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c50c6f584832c6b84e2178e7e0a2a65c20fb3c6ca584d7ac8a9d48aa632e55e |
|
MD5 | 2e44c0b6511abdaa1f67d1433d0d87bd |
|
BLAKE2b-256 | 1b125f4363183d50013e0319d416a84930a3832d219bb5b69651c5d3d81e98c7 |