hdknr’s posterous

 
« Back to blog

Amazon AWS : python-boto to contral Amazon Cloud

hdknr@deblen:~$ apt-cache show python-boto
Package: python-boto
Priority: optional
Section: python
Installed-Size: 572
Maintainer: Eric Evans <eevans@debian.org>
Architecture: all
Version: 1.2a-1
Provides: python2.4-boto, python2.5-boto
Depends: python (>= 2.4), python-support (>= 0.7.1)
Filename: pool/main/p/python-boto/python-boto_1.2a-1_all.deb
Size: 79356
MD5sum: 84302013f11db11c924e8d9c4bff3e92
SHA1: 0a8de33e3dbacf821efadb56ef45efcd6705aa3d
SHA256: cb95274ce8123848153fa98de7dc8e2ec951e0a553fabb6741f116f415033366
Description: Python interface to Amazon's Web Services
 Boto is a Python interface to the infrastructure services available from
 Amazon. It includes support for S3 (Simple Storage Service), SQS (Simple
 Queue Service), and EC2 (Elastic Compute Cloud).


hdknr@deblen:~$ yolk -S name=boto
boto (1.7a):
        Amazon Web Services Library
    
なので、 eazy_installする。

hdknr@deblen:~$ sudo easy_install-2.5  boto
Searching for boto
Best match: boto 1.7a
Processing boto-1.7a.tar.gz
Running boto-1.7a/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CE8uZ4/boto-1.7a/egg-dist-tmp-wsc31P
zip_safe flag not set; analyzing archive contents...
boto.sqs.__init__: module references __path__
boto.s3.__init__: module references __path__
Adding boto 1.7a to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/boto-1.7a-py2.5.egg
Processing dependencies for boto
Finished processing dependencies for boto

hdknr@deblen:~$ python
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto
>>> dir(boto)
['BotoConfigLocations', 'Config', 'UserAgent', 'Version', '__builtins__', '__doc__', '__file__', '__name__', '__path__', '_aws_cache', '_get_aws_conn', 'check_extensions', 'config', 'connect_cloudfront', 'connect_ec2', 'connect_fps', 'connect_s3', 'connect_sdb', 'connect_sqs', 'init_logging', 'log', 'logging', 'lookup', 'os', 'pyami', 'set_file_logger', 'sys']
>>> 



Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter