rgprc
A simple to use, reflection only - grpc client.
Features
- Make GRPC calls against reflection enabled servers
How to install
pip install rgrpc
How to use
try:
rgrpc_client = Client('localhost:50051')
response = rgprc_client.request('myserver.myservice', 'mymethod', {'field1':'value1'})
except Exception as e:
logger.error(f"Failed to initialize rgrpc client: {e}")
Developer Setup
Environment Setup
python3 -m venv /where/you/like/to/store/venvssource /venv/bin/activatepip install -r dev-requirements.txtpre-commit install
Running tests
Running tests.sh will execute the following actions:
ruff check ./rgrpc- will run the ruff linter over core source filesruff format ./rgrpc- will run the ruff formatter over core source filesmypy rgprc/*.py- will run mypy over core source files.pytest --cov=rgrpc tests/- will run tests and generate a short coverage report
Maintainers
Metadata
Release files for rgrpc 2023.11.12
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 |
|---|---|---|---|---|
| rgrpc-2023.11.12.tar.gz | 12.3 kB | Without provenance | Details for rgrpc-2023.11.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rgrpc-2023.11.12-py3-none-any.whl | Python 3 | none | any | Details for rgrpc-2023.11.12-py3-none-any.whl |
Total release size: 20.4 kB
Release files / rgrpc-2023.11.12.tar.gz
| Download URL | rgrpc-2023.11.12.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4899cdeb9de4936c16281297178e3ff8506352036fc8f3b1568b201b844f85a
|
|
BLAKE2b-256 checksum How to use checksums |
9ca195f5ac1e232da0904bd4cefc570957a63efd085e71d1e0bcde84a4332325
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Release files / rgrpc-2023.11.12-py3-none-any.whl
| Download URL | rgrpc-2023.11.12-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
377e6b43c9503847faade772694126694686596d0afd2a3b9d83f371586537e8
|
|
BLAKE2b-256 checksum How to use checksums |
6bb81aeaeddc2bd25a488a972c6d2d1e4cfac263c07f9e9aa24825c16ba824ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Security for rgrpc 2023.11.12
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.