Contents
The batchx package contains the bx main application module, that offers full access to the BatchX gRPC API from Python code.
How to use
# Import the module
from batchx import bx
# Connect to the BatchX servers
# (environment variables `BATCHX_ENDPOINT` and `BATCHX_TOKEN` expected)
bx.connect()
# Instantiate service class
org_service = bx.OrganizationService()
# Create data request
request = org_service.GetOrganizationRequest(organization="batchx")
# Call the RPC
response = org_service.GetOrganization(request);
print(response)
See also
BatchX documentation: https://docs.batchx.io
Python protobuf messages: https://developers.google.com/protocol-buffers/docs/reference/python-generated
Metadata
Release files for batchx 9.15.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| batchx-9.15.1.tar.gz | 54.8 kB | Details |
Release files / batchx-9.15.1.tar.gz
| Download URL | batchx-9.15.1.tar.gz |
|---|---|
| Size | 54.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adb8227864ff1d687d6f6dbe8d8158f8f4718779a4835786cd92c5c80f65e6fb
|
|
BLAKE2b-256 checksum How to use checksums |
9d152f46f17c80b055ef13adc83085f4c4c7640937a5cb056793c8444fc4d2fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|