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
If the template changed, you may need to run "gen.sh" 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 https://github.com/nats-rpc/nrpc project into the nrpc/ directory.
Then, run the following command:
sh protoc.sh
Metadata
Release files for python-nrpc 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_nrpc-0.0.8.tar.gz | 11.4 kB | Without provenance | Details for python_nrpc-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_nrpc-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for python_nrpc-0.0.8-py3-none-any.whl |
Total release size: 22.9 kB
Release files / python_nrpc-0.0.8.tar.gz
| Download URL | python_nrpc-0.0.8.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89b0cfc1aab05f67eb5f0894d5386cd0b1ac5ddced3b5a250caf6cb0aae07caf
|
|
BLAKE2b-256 checksum How to use checksums |
7a653433e407a8f31ecd6ea3eb857b668c7d61ab79a1fefd4ccac099e0d5b3bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / python_nrpc-0.0.8-py3-none-any.whl
| Download URL | python_nrpc-0.0.8-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f488bc0102da546bd03b1843c528630b4b74986e6035a435e5d9a370049a3eb
|
|
BLAKE2b-256 checksum How to use checksums |
d570a285221c5b5f93d93e62fb5ee01aba554dce1b51ba672a9a5789994095e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for python-nrpc 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.