<div dir="ltr">Cool, thanks for sharing Adrian.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, 2017 at 12:11 AM, Adrian Turjak <span dir="ltr"><<a href="mailto:adriant@catalyst.net.nz" target="_blank">adriant@catalyst.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello OpenStack folks,<br>
<br>
As part of my dev work I recently put together a cool little tool which<br>
lets me have much easier access to the various OpenStack python clients<br>
in the scope of a python interpreter session. The first version was a<br>
little rough and without os-client-config support. The current version<br>
is now a plugin for the openstackclient and introduces a command that<br>
simply authenticates you, sets up the environment and helper tools, and<br>
then drops you into an ipython interactive session. The helper stuff is<br>
fairly simple, but combined with the features of ipython it really lets<br>
you start playing with the tools quickly, and by piggybacking onto<br>
openstackclient I get access to a lot of the niceties and inbuilt auth<br>
mechanisms.<br>
<br>
It is useful for learning, testing, or development against the various<br>
openstack client libraries, and even as an ops tool to quickly run some<br>
basic actions without having to resort to weird or silly bash command<br>
combinations.<br>
<br>
I personally use it to test out commands or libraries I'm not familiar<br>
with, or if I just need to work out what the output from something is.<br>
Often even doing once off admin actions that require parsing through and<br>
comparing different values and resources, but isn't worth writing a<br>
script for.<br>
<br>
My goal was to make something easy to use, and help almost anyone pick<br>
up and start using the various python clients without needing to dig<br>
through too much docs.<br>
<br>
<a href="https://pypi.python.org/pypi/openstack-interpreter" rel="noreferrer" target="_blank">https://pypi.python.org/pypi/<wbr>openstack-interpreter</a><br>
<br>
Feedback is welcome!<br>
<br>
Cheers,<br>
Adrian Turjak<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</blockquote></div><br></div>