Showing posts with label boto. Show all posts
Showing posts with label boto. Show all posts

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

Wednesday, January 16, 2013

Some Google command line tools

googlecl is a command line tool (written in Python) that lets you use some Google services, such as Blogger, Calendar, Contacts, Docs, Finance,Picasa and YouTube.

googlecl - Command line tools for the Google Data APIs - Google Project Hosting

You can use it to add a post to your blog, add a calendar entry, edit a document (the editor to use is a configurable option), download your contacts, upload a video, etc. For those used to the command line, it can be faster than accessing the corresponding service via the web interface.

gsutil allows you to manipulate your data on cloud storage providers such as Google Storage and Amazon S3. It uses the boto Python library, written by Mitch Garnaat, which I had blogged about earlier.

code.google.com/p/gsutil/

https://github.com/boto/boto#readme

bq is a Python command line tool to access Google BigQuery, which I had also blogged about before.

https://developers.google.com/bigquery/docs/cli_tool

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:

http://www.ibm.com/developerworks/linux/library/l-clutil/

Though it 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.

- Vasudev Ram
www.dancingbison.com

Tuesday, October 30, 2012

Python and AWS Cookbook by Mitch Garnaat of Eucalyptus and AWS


By Vasudev Ram

Saw it via a retweet (not about the book :) by @Phaseit.

Python and AWS Cookbook is an O'Reilly Media book by Mitch Garnaat, about managing your cloud apps with Python and Boto.

Boto is a Python library for cloud operations. From the Boto site: "The goal of boto is to support the full breadth and depth of Amazon Web Services". It already seems to support many AWS services, including the Simple* series, EC2, and others.

- Vasudev Ram - Dancing Bison Enterprises