Skip to main content

Package for CGP CLI access

Project description

CGPCLI is Python libary that allows you to reach CGP servers and execute CLI commands from your Python code.

It consists of:

  • Commands: contains all CLI command
  • Errors: some errors with that you may handel
  • Connection: methods to connect to CGP server
  • Parser: includes methods to convert CGP objects to Python ones and vice versa

CLI commands manual

Simple example:

  server = Server('hostname')
  server.connect()
  server.login('username', 'password')
  print(server.get_account_info('*'))
  server.disconnect()

Project details


Download files

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

Source Distribution

CGPCLI-1.1.9.tar.gz (33.1 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