Skip to main content

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

  1. Import library:

import os;
from batchx import bx
  1. Connect to server (environment variables BATCHX_ENDPOINT and BATCHX_TOKEN expected)

bx.connect()
  1. Instantiate service class. For example:

org_service = bx.OrganizationService()
  1. Create data request. For example:

request = org_service.GetOrganizationRequest(organization="batchx")
  1. Call remote service. For example:

response = org_service.GetOrganization(request);
print(response)

Project details


Release history Release notifications | RSS feed

This version

0.0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batchx-0.0.4.tar.gz (50.9 kB view hashes)

Uploaded Source

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