Batchx Python API
Project description
Contents
batchx package containing bx main application module, that offers access to the complete BatchX gRPC API from Python code.
How to use
Import the library:
from batchx import bx
Connect to the BatchX servers (environment variables BATCHX_ENDPOINT and BATCHX_TOKEN expected)
bx.connect()
Instantiate service class, for example:
org_service = bx.OrganizationService()
Create data request, for example:
request = org_service.GetOrganizationRequest(organization="batchx")
Call the RPC, for example:
response = org_service.GetOrganization(request); print(response)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
batchx-5.13.6.tar.gz
(51.0 kB
view hashes)