Skip to main content

Batchx Python API

Project description

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

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-9.15.1.tar.gz (54.8 kB view details)

Uploaded Source

File details

Details for the file batchx-9.15.1.tar.gz.

File metadata

  • Download URL: batchx-9.15.1.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for batchx-9.15.1.tar.gz
Algorithm Hash digest
SHA256 adb8227864ff1d687d6f6dbe8d8158f8f4718779a4835786cd92c5c80f65e6fb
MD5 9ce079d5dc0407680f9b1e91a21335f7
BLAKE2b-256 9d152f46f17c80b055ef13adc83085f4c4c7640937a5cb056793c8444fc4d2fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page