Thursday, September 5, 2013

Amazon Web Services CLI rewritten in Python


By Vasudev Ram

The Amazon Web Services Command Line Interface (AWS CLI) has been rewritten, in Python.

Saw this news in a thread on the Python Reddit.

According to the thread, it (the AWS CLI) was earlier written in Java, and now uses Python, and either boto or boto-core.

I had blogged about boto here, earlier. boto is a Python library to enable access to Amazon Web Services, written by Mitch Garnaat.

The Google command line tool gsutil also uses boto.

If you are interested in creating command line tools for Unix or Linux systems, you may like to read my tutorial article on the topic, published on IBM developerWorks:

Developing a Linux command-line utility

Though the tutorial uses the C language, many of the concepts discussed in the article are applicable to writing command line tools in Python as well, because, when writing such tools, you will basically be using the C library and Unix features such as standard input, standard output, pipes and I/O redirection, but via Python.


O'Reilly Velocity Conference



- Vasudev Ram - Dancing Bison Enterprises

Contact me

No comments: