Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

batchx

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

batchx

Batchx Python API

  • 9.15.1
  • PyPI
  • Socket score

Maintainers
1

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

.. code:: python

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc