Skip to main content

A simple command to drop you into the python interpreter with the openstack easy to setup.

Project description

A simple command to drop you into the python interpreter with the openstack clients setup.

Using the interpreter

First install the tool:

pip install openstack-interpreter

The simply run the command. Provided you have your environment variables setup correctly it will authenticate you, and drop into a python interpreter.

$ os-interpreter

>>> interpreter
<openstack_interpreter.OpenStackInterpreter object at 0x7fe39f22b090>
>>> keystone = interpreter.get_client('identity')
>>> projects = keystone.projects.list()
>>> keystone.projects.get(projects[0].id)
>>> nova = interpreter.get_client('compute')
>>> servers = nova.servers.list()
>>> server = nova.servers.get(servers[0].id)

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

openstack-interpreter-0.1.1.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file openstack-interpreter-0.1.1.tar.gz.

File metadata

File hashes

Hashes for openstack-interpreter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1c6c9650f5988cac3897f4dddbfb9c0792fb6d29ac597c87452a5d863e9ed5d9
MD5 ca9192cf47dfff82df6c4b5b81588620
BLAKE2b-256 1f0dc1b198e8c0d6b7b6e0a91b9196f57ba9eb90c80eb7c440b07293be193d19

See more details on using hashes here.

Supported by

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