boto 0.9d 16-Oct-2007 Copyright (c) 2006,2007 Mitch Garnaat http://code.google.com/p/boto Boto is a Python package that provides interfaces to Amazon Web Services. At the moment, boto supports S3 (Simple Storage Service) and SQS (Simple Queue Service) via the REST API's provided by those services and EC2 (Elastic Compute Cloud) via the Query API. The intent is to support additional services in the future. The goal of boto is to provide a very simple, easy to use, lightweight wrapper around the Amazon services. Not all features supported by the Amazon Web Services will be supported in boto. Basically, those features I need to do what I want to do are supported first. Other features and requests are welcome and will be accomodated to the best of my ability. Patches and contributions are welcome! Boto was written using Python 2.4.1 on Mac OSX. It has also been tested on Linux Fedora Core 4 using Python 2.4.1. Boto requires no additional libraries or packages other than those that are distributed with Python 2.4.1. NOTE: A patch was supplied recently by josh.bressers that should allow boto to run in Python 2.3. I have not tested this myself. There is some documentation for boto, mainly in the form of tutorials. Check in the doc directory of the distribution. You can also check out the unit tests in the tests directory of the distribution for examples of use. You AWS credentials can be passed into the methods that create S3 and SQS connections. Alternatively, boto will check for the existance of the following environment variables to ascertain your credentials: AWS_ACCESS_KEY_ID - Your AWS Access Key ID AWS_SECRET_ACCESS_KEY - Your AWS Secret Access Key Changes ------- [boto 0.9d changes] ------------------------------------------------------------------------ r371 | Mitch.Garnaat | 2007-10-16 21:05:47 -0400 (Tue, 16 Oct 2007) | 1 line Changing reference to pre-release EC2 server. ------------------------------------------------------------------------ r372 | Mitch.Garnaat | 2007-10-16 21:10:16 -0400 (Tue, 16 Oct 2007) | 1 line update method now returns updated state ------------------------------------------------------------------------ [boto 0.9c changes] ------------------------------------------------------------------------ r313 | Mitch.Garnaat | 2007-07-24 16:23:40 -0400 (Tue, 24 Jul 2007) | 1 line Need to reset the ResultSet internal index variable before raising StopIteration. Fixes Issue-71. ------------------------------------------------------------------------ r314 | Mitch.Garnaat | 2007-07-24 23:04:07 -0400 (Tue, 24 Jul 2007) | 1 line Create RawMessage class to avoid base64 encode/decode of message bodies. Fixes Issue-72. ------------------------------------------------------------------------ r320 | Mitch.Garnaat | 2007-08-14 16:16:18 -0400 (Tue, 14 Aug 2007) | 1 line Incorporating patch from David Strip for proxy handling. ------------------------------------------------------------------------ r322 | Mitch.Garnaat | 2007-09-04 05:07:56 -0400 (Tue, 04 Sep 2007) | 1 line Incorporating patches from James Gardiner. These include correcting all references to the variable c to be conn, updating the console sessions to show the Unicode output and showing how to get the dns_name for an instance. Also added a paragraph on NAT addressing and described how to access the private DNS name ------------------------------------------------------------------------ r323 | Mitch.Garnaat | 2007-09-04 05:28:28 -0400 (Tue, 04 Sep 2007) | 1 line Added patch from James Gardiner which corrects handling of boolean responses from AWS in image.py. Also fixed a similar problem in securitygroup.py ------------------------------------------------------------------------ r325 | Mitch.Garnaat | 2007-09-11 12:48:45 -0400 (Tue, 11 Sep 2007) | 1 line The ListBucket response body now gets printed to stdout if the debug level is > 1. ------------------------------------------------------------------------ r326 | Mitch.Garnaat | 2007-09-11 12:51:59 -0400 (Tue, 11 Sep 2007) | 1 line Can now generate a URL without the query string authorization part. Fixes Issue-75. Also fixed a bug which prevented the upload operation in key.py to be interrupted by a SIG-INT. Fixes Issue-77. ------------------------------------------------------------------------ r327 | Mitch.Garnaat | 2007-09-12 08:45:18 -0400 (Wed, 12 Sep 2007) | 1 line Forgot to check this in as part of revision 326 to address Issue-77. This is where the socket_exception_values gets defined. ------------------------------------------------------------------------ [boto 0.9b changes] ------------------------------------------------------------------------ r309 | Mitch.Garnaat | 2007-07-07 15:24:56 -0400 (Sat, 07 Jul 2007) | 1 line Adding support for new Paid AMI feature in EC2. Fixes Issue-69. ------------------------------------------------------------------------ [boto 0.9a changes] ------------------------------------------------------------------------ r196 | Mitch.Garnaat | 2007-03-13 19:35:35 -0400 (Tue, 13 Mar 2007) | 1 line First inklings of an mturk package. Only supports one method so far but it does authenticate properly. ------------------------------------------------------------------------ r197 | Mitch.Garnaat | 2007-03-13 23:43:36 -0400 (Tue, 13 Mar 2007) | 1 line Adding a tiny bit more to the nascent mturk module. Also added ability to pass a list of target_elems into ResultSet. ------------------------------------------------------------------------ r198 | Mitch.Garnaat | 2007-03-13 23:44:19 -0400 (Tue, 13 Mar 2007) | 1 line Adding an object to represent Price data in mturk. ------------------------------------------------------------------------ r199 | Mitch.Garnaat | 2007-03-19 18:22:22 -0400 (Mon, 19 Mar 2007) | 1 line Trying out some interface enhancements to address Issue-52. ------------------------------------------------------------------------ r200 | Mitch.Garnaat | 2007-03-23 16:12:35 -0400 (Fri, 23 Mar 2007) | 1 line Added a set_timeout method to Queue object. Also added a test case for it. Fixes Issue-53. ------------------------------------------------------------------------ r201 | Mitch.Garnaat | 2007-03-24 09:46:07 -0400 (Sat, 24 Mar 2007) | 1 line lookup method now correctly sets key.size based on Content-Length header. Fixes Issue-54. ------------------------------------------------------------------------ r202 | anseljh | 2007-03-27 13:44:42 -0400 (Tue, 27 Mar 2007) | 1 line Added create_hit() and Question-related classes to mturk module. AnswerSpecification class still needs to be fleshed out. But - it actually works! I created a hit, went to the MTurk website and found it, and completed it. ------------------------------------------------------------------------ r204 | anseljh | 2007-03-28 15:26:47 -0400 (Wed, 28 Mar 2007) | 1 line mturk module: added AnswerSpecification and related classes (tested and works); fixed join() call re: keywords; added email notification (untested so far); cleaned up some whitespace that was causing problems with my IDE. ------------------------------------------------------------------------ r205 | anseljh | 2007-04-02 13:36:47 -0400 (Mon, 02 Apr 2007) | 1 line fixed some oddly crufty indentation ------------------------------------------------------------------------ r206 | anseljh | 2007-04-02 13:37:52 -0400 (Mon, 02 Apr 2007) | 1 line split out Question and QuestionForm; implemented SelectionAnswer; various housekeeping on mturk module ------------------------------------------------------------------------ r207 | anseljh | 2007-04-02 14:33:24 -0400 (Mon, 02 Apr 2007) | 1 line first attempt at the Mechanical Turk Notification API; semi-confirmed to work with a simple TurboGears controller ------------------------------------------------------------------------ r208 | Mitch.Garnaat | 2007-04-02 15:24:18 -0400 (Mon, 02 Apr 2007) | 1 line Added a -t option to specify visibility timeout. ------------------------------------------------------------------------ r209 | Mitch.Garnaat | 2007-04-02 15:25:31 -0400 (Mon, 02 Apr 2007) | 1 line Adding support for newest EC2 api by incorporating patches from ps.spam. Fixes Issue-55. ------------------------------------------------------------------------ r210 | Mitch.Garnaat | 2007-04-02 16:47:49 -0400 (Mon, 02 Apr 2007) | 1 line Fixing a bug introduced in last commit. Awrrr, beware the whitespace... ------------------------------------------------------------------------ r211 | anseljh | 2007-04-02 16:58:31 -0400 (Mon, 02 Apr 2007) | 1 line fixed an oops on import line ------------------------------------------------------------------------ r212 | anseljh | 2007-04-09 19:30:35 -0400 (Mon, 09 Apr 2007) | 1 line fix for setting reward in register_hit_type() ------------------------------------------------------------------------ r213 | Mitch.Garnaat | 2007-04-27 11:55:28 -0400 (Fri, 27 Apr 2007) | 1 line Added two new methods to save messages to an S3 bucket and restore messages from an S3 bucket ------------------------------------------------------------------------ r214 | Mitch.Garnaat | 2007-04-27 11:57:38 -0400 (Fri, 27 Apr 2007) | 1 line Added support for S3BucketListResultSet which transparently handles pages results from S3. Added some docstrings. ------------------------------------------------------------------------ r215 | Mitch.Garnaat | 2007-04-27 12:05:58 -0400 (Fri, 27 Apr 2007) | 1 line Tweaks to resultset ------------------------------------------------------------------------ r216 | Mitch.Garnaat | 2007-04-27 12:06:49 -0400 (Fri, 27 Apr 2007) | 1 line Moved BucketListResultSet to s3 module. ------------------------------------------------------------------------ r217 | Mitch.Garnaat | 2007-04-27 22:40:19 -0400 (Fri, 27 Apr 2007) | 1 line Adding support for https_connection_factory. Fixes Issue-57. ------------------------------------------------------------------------ r218 | Mitch.Garnaat | 2007-04-27 22:40:32 -0400 (Fri, 27 Apr 2007) | 1 line Adding support for https_connection_factory. Fixes Issue-57. ------------------------------------------------------------------------ r219 | Mitch.Garnaat | 2007-04-27 22:40:46 -0400 (Fri, 27 Apr 2007) | 1 line Adding support for https_connection_factory. Fixes Issue-57. ------------------------------------------------------------------------ r220 | Mitch.Garnaat | 2007-04-27 22:41:08 -0400 (Fri, 27 Apr 2007) | 1 line Adding support for https_connection_factory. Fixes Issue-57. ------------------------------------------------------------------------ r221 | Mitch.Garnaat | 2007-04-27 22:41:27 -0400 (Fri, 27 Apr 2007) | 1 line Adding support for https_connection_factory. Fixes Issue-57. ------------------------------------------------------------------------ r222 | Mitch.Garnaat | 2007-04-27 22:42:00 -0400 (Fri, 27 Apr 2007) | 1 line Adding support for https_connection_factory. Fixes Issue-57. ------------------------------------------------------------------------ r223 | Mitch.Garnaat | 2007-04-28 23:05:03 -0400 (Sat, 28 Apr 2007) | 1 line Forgot the __init__.py file for this module directory. ------------------------------------------------------------------------ r224 | Mitch.Garnaat | 2007-05-07 18:09:45 -0400 (Mon, 07 May 2007) | 1 line Fixed a bug in get_results.py that prevented the result files from being downloaded. Also changed the formats of some of the date-related headers in the messages. ------------------------------------------------------------------------ r225 | Mitch.Garnaat | 2007-05-07 19:34:39 -0400 (Mon, 07 May 2007) | 1 line Fixed a bug that is triggered if there are no results in the queue. ------------------------------------------------------------------------ r226 | Mitch.Garnaat | 2007-05-07 20:01:40 -0400 (Mon, 07 May 2007) | 1 line Added documentation of the -n option ------------------------------------------------------------------------ r227 | Mitch.Garnaat | 2007-05-16 14:48:11 -0400 (Wed, 16 May 2007) | 1 line Fixed the __iter__ method of Bucket object. Fixes Issue-60. ------------------------------------------------------------------------ r228 | Mitch.Garnaat | 2007-05-16 14:52:17 -0400 (Wed, 16 May 2007) | 1 line Fixed a logic problem in handling of exception in key.send_file. Fixes Issue-56. ------------------------------------------------------------------------ r229 | Mitch.Garnaat | 2007-05-16 15:06:03 -0400 (Wed, 16 May 2007) | 1 line Fixed a logic problem in handling of exception in key.send_file. Fixes Issue-56. ------------------------------------------------------------------------ r230 | Mitch.Garnaat | 2007-05-16 15:10:41 -0400 (Wed, 16 May 2007) | 1 line Backing out bad commit ------------------------------------------------------------------------ r231 | Mitch.Garnaat | 2007-05-16 15:15:05 -0400 (Wed, 16 May 2007) | 1 line Backing out a bad commit ------------------------------------------------------------------------ r232 | Mitch.Garnaat | 2007-05-20 21:39:57 -0400 (Sun, 20 May 2007) | 1 line Added single-line patch from jjc1138 to update public_dns_name when update() is called. Fixes Issue-58. ------------------------------------------------------------------------ r233 | Mitch.Garnaat | 2007-05-20 21:49:52 -0400 (Sun, 20 May 2007) | 1 line Made a number of usability improvements. Fixes Issue-61, Issue-62, Issue-63. ------------------------------------------------------------------------ r234 | Mitch.Garnaat | 2007-05-30 22:42:23 -0400 (Wed, 30 May 2007) | 1 line Incorporates change in Key field name Key.key -> Key.name. Should have been checked in before. ------------------------------------------------------------------------ r235 | Mitch.Garnaat | 2007-05-30 22:46:37 -0400 (Wed, 30 May 2007) | 1 line Make the GetQueueAttributes and SetQueueAttributes available by transparently passing those commands off to a QueryConnection rather than using REST. This allows you to get an approximate count of the number of messages in a queue; very useful. Fixes Issue-43. ------------------------------------------------------------------------ r236 | Mitch.Garnaat | 2007-05-30 22:47:27 -0400 (Wed, 30 May 2007) | 1 line Updated unit test to match new code ------------------------------------------------------------------------ r237 | Mitch.Garnaat | 2007-05-31 09:52:40 -0400 (Thu, 31 May 2007) | 1 line Trying to create better log files for command line services ------------------------------------------------------------------------ r238 | Mitch.Garnaat | 2007-05-31 14:05:39 -0400 (Thu, 31 May 2007) | 1 line trying out some new debug ideas. ------------------------------------------------------------------------ r239 | Mitch.Garnaat | 2007-05-31 15:57:16 -0400 (Thu, 31 May 2007) | 1 line More work to try to debug services. ------------------------------------------------------------------------ r240 | Mitch.Garnaat | 2007-05-31 16:10:04 -0400 (Thu, 31 May 2007) | 1 line fixed a bug in writing timestamp for log ------------------------------------------------------------------------ r241 | Mitch.Garnaat | 2007-06-01 09:51:33 -0400 (Fri, 01 Jun 2007) | 1 line Added sorting of log messages ------------------------------------------------------------------------ r242 | Mitch.Garnaat | 2007-06-01 09:52:23 -0400 (Fri, 01 Jun 2007) | 1 line Added a save method to save all messages in a queue to a file, deleting the messages in the process. ------------------------------------------------------------------------ r243 | Mitch.Garnaat | 2007-06-01 10:53:50 -0400 (Fri, 01 Jun 2007) | 1 line Fixed Issue-57 by incorporating boto-connection_factory_exceptions.diff contributed by j. colverson ------------------------------------------------------------------------ r244 | Mitch.Garnaat | 2007-06-04 07:45:23 -0400 (Mon, 04 Jun 2007) | 1 line Fixed a typo bug regarding http_exceptions ------------------------------------------------------------------------ r245 | Mitch.Garnaat | 2007-06-04 20:43:16 -0400 (Mon, 04 Jun 2007) | 1 line Added support to s3 for delimiters. Fixes Issue-65. This required a change in resultset.py which percolated throughout the code. Also added a simple unit test for delimiters. ------------------------------------------------------------------------ r246 | Mitch.Garnaat | 2007-06-05 13:47:31 -0400 (Tue, 05 Jun 2007) | 1 line This file should have been committed in last changeset. ------------------------------------------------------------------------ r247 | Mitch.Garnaat | 2007-06-05 13:49:05 -0400 (Tue, 05 Jun 2007) | 1 line Added callback to get_file and send_file methods. Fixes Issue-66. ------------------------------------------------------------------------ r248 | Mitch.Garnaat | 2007-06-05 17:18:33 -0400 (Tue, 05 Jun 2007) | 1 line Adding num_cb parameters to all get_ and set_ methods to control the number of times the callback function will be called. ------------------------------------------------------------------------ r249 | Mitch.Garnaat | 2007-06-05 22:04:31 -0400 (Tue, 05 Jun 2007) | 1 line Simplified Key.get_file method by calling Connection.make_request to do the hard work. Fixed bugs in the *_string methods. ------------------------------------------------------------------------ r250 | Mitch.Garnaat | 2007-06-06 06:52:44 -0400 (Wed, 06 Jun 2007) | 1 line Removing old code from key.py. Folding in another patch from j.colverson to connection.py ------------------------------------------------------------------------ r251 | Mitch.Garnaat | 2007-06-06 12:47:31 -0400 (Wed, 06 Jun 2007) | 1 line Fixed a typo bug ------------------------------------------------------------------------ r252 | Mitch.Garnaat | 2007-06-08 02:03:42 -0400 (Fri, 08 Jun 2007) | 1 line Body of error responses for S3 now included in S3ResponseError exception. Fixes Issue-67. ------------------------------------------------------------------------ r254 | Mitch.Garnaat | 2007-06-08 17:19:08 -0400 (Fri, 08 Jun 2007) | 1 line Added a -p option to submit_files.py that displays progress information for file transfers. ------------------------------------------------------------------------ r255 | Mitch.Garnaat | 2007-06-08 22:21:18 -0400 (Fri, 08 Jun 2007) | 1 line Added some sanity around error checking the num_cb arg. ------------------------------------------------------------------------ r256 | Mitch.Garnaat | 2007-06-08 22:23:04 -0400 (Fri, 08 Jun 2007) | 1 line Modified the -p option to submit_files.py to take a number which is then passed as num_cb ------------------------------------------------------------------------ r257 | Mitch.Garnaat | 2007-06-09 07:58:46 -0400 (Sat, 09 Jun 2007) | 1 line Fixed a bug in submit_files.py and changed service.py to print all SQSErrors encountered so you can see the response body. ------------------------------------------------------------------------ r258 | Mitch.Garnaat | 2007-06-11 10:34:55 -0400 (Mon, 11 Jun 2007) | 1 line Disabling debug printing of the actual request data unless debug is set to a value > 1. ------------------------------------------------------------------------ r259 | Mitch.Garnaat | 2007-06-12 14:03:19 -0400 (Tue, 12 Jun 2007) | 1 line Added an Expect header to the send_file method. ------------------------------------------------------------------------ r260 | Mitch.Garnaat | 2007-06-12 22:49:59 -0400 (Tue, 12 Jun 2007) | 1 line Removing unneeded class ------------------------------------------------------------------------ r265 | Mitch.Garnaat | 2007-06-21 17:58:19 -0400 (Thu, 21 Jun 2007) | 1 line Making sure the URL's for instance data are terminated with / character ------------------------------------------------------------------------ r266 | Mitch.Garnaat | 2007-06-21 17:59:32 -0400 (Thu, 21 Jun 2007) | 1 line Trying to make more sense of the exceptions. ------------------------------------------------------------------------ r267 | Mitch.Garnaat | 2007-06-21 18:59:46 -0400 (Thu, 21 Jun 2007) | 1 line Adding error response body to exception ------------------------------------------------------------------------ [boto 0.8d changes] r130 | Mitch.Garnaat | 2007-02-11 08:22:56 -0500 (Sun, 11 Feb 2007) | 1 line Fixed a problem with Content-Type headers when the mimetype of the underlying file is unknown. Fixes Issue-35. ------------------------------------------------------------------------ r131 | Mitch.Garnaat | 2007-02-15 12:37:34 -0500 (Thu, 15 Feb 2007) | 1 line Allow host to be passed as parameter to connection constructors. Fixes Issue-38 ------------------------------------------------------------------------ r132 | Mitch.Garnaat | 2007-02-16 12:17:19 -0500 (Fri, 16 Feb 2007) | 1 line Got rid of the InstanceState object. The state attribute is now a string. The code that was part of the InstanceState object is now stored as the state_code attribute of the Instance object. ------------------------------------------------------------------------ R133 | Mitch.Garnaat | 2007-02-16 12:28:53 -0500 (Fri, 16 Feb 2007) | 1 line Added support for last_modified header on file download from s3. Also allow header dictionary to be passed as param to get_contents_to_* methods of Key object. Based on patches submitted by ps.spam. Fixes Issue-39, Issue-40, Issue-41. ------------------------------------------------------------------------ r134 | Mitch.Garnaat | 2007-02-16 12:44:35 -0500 (Fri, 16 Feb 2007) | 1 line Incorporating additional fixes for proxy support supplied by D. Strip. ------------------------------------------------------------------------ r142 | Mitch.Garnaat | 2007-02-19 12:07:47 -0500 (Mon, 19 Feb 2007) | 1 line Adding utility functions to retrieve metadata and userdata for an instance ------------------------------------------------------------------------ r177 | Mitch.Garnaat | 2007-02-25 20:47:31 -0500 (Sun, 25 Feb 2007) | 2 lines Refactoring the connection code. Now each subsystem has it's own connection.py file with the connection class for that service. The conneciton.py at the boto level only has the superclasses. Factored out a common superclass for Query connections. Added factory methods to queue and bucket to create new instances of messages and key, respectively. Fixed Issue-44. ------------------------------------------------------------------------ r179 | Mitch.Garnaat | 2007-03-04 16:57:32 -0500 (Sun, 04 Mar 2007) | 1 line Incorporating patch from josh.bressers which allows boto to be used in Python 2.3. Fixes Issue-45. ------------------------------------------------------------------------ r180 | Mitch.Garnaat | 2007-03-05 09:53:00 -0500 (Mon, 05 Mar 2007) | 1 line Forgot to Base64 encode the UserData parameter to RunInstances. Fixes Issue-47. ------------------------------------------------------------------------ r184 | Mitch.Garnaat | 2007-03-06 13:09:16 -0500 (Tue, 06 Mar 2007) | 1 line Added an update method to the MHMessage class. Allows update of fields from another mapping type. Fixed a bug in the new_message method of queue.py. ------------------------------------------------------------------------ r185 | Mitch.Garnaat | 2007-03-06 13:12:57 -0500 (Tue, 06 Mar 2007) | 1 line Added a replace flag to the set_contents_from_* methods. The default value is True which will cause it to act as it always has. If you pass in False, however, the key object will check in the bucket first and see if there is already an object with the same key. If there is, it won't overwrite it. ------------------------------------------------------------------------ r190 | Mitch.Garnaat | 2007-03-08 13:11:41 -0500 (Thu, 08 Mar 2007) | 1 line Adding a command line utility to read status messages from the output queue and retrieve corresponding files ------------------------------------------------------------------------ r191 | Mitch.Garnaat | 2007-03-11 15:06:29 -0400 (Sun, 11 Mar 2007) | 2 lines Updated tutorials to reflect new package structure. Fixes Issue-48. ------------------------------------------------------------------------ r192 | Mitch.Garnaat | 2007-03-11 15:47:12 -0400 (Sun, 11 Mar 2007) | 1 line Adding generate_key methods to Bucket and Key classes. Fixing a bug I introduced in boto/connection.py when I split the subclasses out into separate packges. Fixes Issue-46 and Issue-50. [boto 0.8c changes] ------------------------------------------------------------------------ r121 | Mitch.Garnaat | 2007-02-08 15:19:51 -0500 (Thu, 08 Feb 2007) | 1 line Bumping EC2 API version and adding support for GetConsoleOutput and RebootInstances. Fixes Issue-34. ------------------------------------------------------------------------ r120 | Mitch.Garnaat | 2007-02-08 14:33:10 -0500 (Thu, 08 Feb 2007) | 1 line Merged in changes from David Strip to support proxy servers for non-SSL connections. Fixes Issue-32. ------------------------------------------------------------------------ r119 | Mitch.Garnaat | 2007-02-08 08:14:48 -0500 (Thu, 08 Feb 2007) | 1 line Added an explicit Content-Length header if one wasn't provided. Fixes Issue-33. ------------------------------------------------------------------------ r118 | Mitch.Garnaat | 2007-02-07 22:18:35 -0500 (Wed, 07 Feb 2007) | 1 line The set_content_* methods of Key object now accepts an optional dictionary of headers to be sent with the PUT request. Also added a test case for this. Fixes Issue-28. ------------------------------------------------------------------------ r117 | Mitch.Garnaat | 2007-02-07 20:31:52 -0500 (Wed, 07 Feb 2007) | 1 line Added some command-line option processing to the unit test script to allow individual tests to be run rather than running all tests. [boto 0.8b changes] ------------------------------------------------------------------------ r114 | Mitch.Garnaat | 2007-02-05 08:53:05 -0500 (Mon, 05 Feb 2007) | 1 line Fixed handling of whitespace that was breaking EC2 support. Fixes Issue-31. ------------------------------------------------------------------------ r110 | Mitch.Garnaat | 2007-02-04 10:36:15 -0500 (Sun, 04 Feb 2007) | 1 line is_truncated attribute now gets converted to a true boolean value rather than a string. Fixes Issue-29. [boto 0.8a changes] ------------------------------------------------------------------------ r105 | Mitch.Garnaat | 2007-01-26 15:44:30 -0500 (Fri, 26 Jan 2007) | 1 line Added support for enabling bucket logging in S3. Also added a sleep delay in unit test for SQS. ------------------------------------------------------------------------ r97 | Mitch.Garnaat | 2007-01-19 15:32:39 -0500 (Fri, 19 Jan 2007) | 1 line Some fixes to try to enable support for logging. Also, first cut at a generate_url method for S3 connection. ------------------------------------------------------------------------ [boto 0.7a changes] ------------------------------------------------------------------------ r91 | Mitch.Garnaat | 2007-01-17 19:39:28 -0500 (Wed, 17 Jan 2007) | 1 line Bumping version number. ------------------------------------------------------------------------ r90 | Mitch.Garnaat | 2007-01-17 19:13:08 -0500 (Wed, 17 Jan 2007) | 1 line Completed basic EC2 functionality. Includes reasonable unit tests and tutorial. ------------------------------------------------------------------------ r89 | Mitch.Garnaat | 2007-01-17 11:35:39 -0500 (Wed, 17 Jan 2007) | 1 line Added explicit mimetype override for uploaded files, Fixes Issue-25. Also fleshing out EC2 implementation. ------------------------------------------------------------------------ r88 | Mitch.Garnaat | 2007-01-13 15:45:06 -0500 (Sat, 13 Jan 2007) | 1 line key.get_file now properly checks the HTTP status code rather than silently ignore it. Fixes Issue-21 ------------------------------------------------------------------------ r87 | Mitch.Garnaat | 2007-01-13 15:36:50 -0500 (Sat, 13 Jan 2007) | 1 line Added get_bucket method. Fixes Issue-22 ------------------------------------------------------------------------ r86 | Mitch.Garnaat | 2007-01-11 06:19:11 -0500 (Thu, 11 Jan 2007) | 1 line key.py was referencing S3DataError exception but wasn't importing it. Fixes Issue-19. ------------------------------------------------------------------------ r85 | Mitch.Garnaat | 2007-01-09 18:27:24 -0500 (Tue, 09 Jan 2007) | 1 line Working on tutorial for EC2 and adding additional capabilities. ------------------------------------------------------------------------ r84 | Mitch.Garnaat | 2007-01-07 20:13:27 -0500 (Sun, 07 Jan 2007) | 1 line Left a bunch of debug print statements in last version ------------------------------------------------------------------------ r83 | Mitch.Garnaat | 2007-01-07 20:10:55 -0500 (Sun, 07 Jan 2007) | 1 line Modified copyright on all files. Also fixed a bug in the EC2 SecurityGroup response parsing. ------------------------------------------------------------------------ r82 | Mitch.Garnaat | 2006-12-30 11:18:52 -0500 (Sat, 30 Dec 2006) | 1 line Added ability to dump messages in a queue to a file ------------------------------------------------------------------------ r81 | Mitch.Garnaat | 2006-12-28 09:42:03 -0500 (Thu, 28 Dec 2006) | 1 line A small command line utility to count messages in queues and, optionally, clear them out ------------------------------------------------------------------------ r80 | Mitch.Garnaat | 2006-12-26 23:25:08 -0500 (Tue, 26 Dec 2006) | 1 line Adding more unit tests for EC2. ------------------------------------------------------------------------ r79 | Mitch.Garnaat | 2006-12-26 23:24:28 -0500 (Tue, 26 Dec 2006) | 1 line Cleaning up some of the EC2 support classes to support new capabilities and to fix some bugs. ------------------------------------------------------------------------ r78 | Mitch.Garnaat | 2006-12-26 23:23:20 -0500 (Tue, 26 Dec 2006) | 1 line Cleaning up some of the EC2 methods and adding some new ones. ------------------------------------------------------------------------ r77 | Mitch.Garnaat | 2006-12-26 23:22:03 -0500 (Tue, 26 Dec 2006) | 1 line Added a MHMessage class which handles RFC821-like mail headers to store name/value pairs. ------------------------------------------------------------------------ r76 | Mitch.Garnaat | 2006-12-26 23:20:46 -0500 (Tue, 26 Dec 2006) | 1 line SQSExceptions now print out the body of the response since that usually contains the vital info. ------------------------------------------------------------------------ r75 | Mitch.Garnaat | 2006-12-26 23:19:41 -0500 (Tue, 26 Dec 2006) | 1 line Fixed an anamoly with the md5 attribute. This was getting wrapped in double-quotes for no good reason so those ahve been removed. ------------------------------------------------------------------------ r74 | Mitch.Garnaat | 2006-12-15 14:20:59 -0500 (Fri, 15 Dec 2006) | 2 lines fixing import statements for new package structure. ------------------------------------------------------------------------ r73 | Mitch.Garnaat | 2006-12-15 14:15:17 -0500 (Fri, 15 Dec 2006) | 2 lines new unit tests. ------------------------------------------------------------------------ r72 | Mitch.Garnaat | 2006-12-15 14:11:59 -0500 (Fri, 15 Dec 2006) | 2 lines Added unit test for EC2. ------------------------------------------------------------------------ r71 | Mitch.Garnaat | 2006-12-15 14:10:06 -0500 (Fri, 15 Dec 2006) | 2 lines Creating subpackages for each service. ------------------------------------------------------------------------ r70 | Mitch.Garnaat | 2006-12-15 14:07:38 -0500 (Fri, 15 Dec 2006) | 2 lines Subpackage for EC2. ------------------------------------------------------------------------ r69 | Mitch.Garnaat | 2006-12-15 14:06:36 -0500 (Fri, 15 Dec 2006) | 2 lines Adding subpackage for SQS. ------------------------------------------------------------------------ r68 | Mitch.Garnaat | 2006-12-15 14:05:47 -0500 (Fri, 15 Dec 2006) | 3 lines Subpackage for S3 ------------------------------------------------------------------------ r67 | Mitch.Garnaat | 2006-12-15 13:35:34 -0500 (Fri, 15 Dec 2006) | 2 lines Added some info for other response. ------------------------------------------------------------------------ r66 | Mitch.Garnaat | 2006-12-14 22:18:12 -0500 (Thu, 14 Dec 2006) | 2 lines Adding additional ec2 functionality. ------------------------------------------------------------------------ r65 | Mitch.Garnaat | 2006-12-14 18:09:59 -0500 (Thu, 14 Dec 2006) | 4 lines Rewrote the whole XML handling mechanism. This is much simpler and also more powerful. First cut at some EC2 capabilities. Using new Query interface. Only a few commands are implemented thus far. ------------------------------------------------------------------------ r64 | Mitch.Garnaat | 2006-12-12 09:42:03 -0500 (Tue, 12 Dec 2006) | 2 lines fixing a bug introduced with last check in. ------------------------------------------------------------------------ r63 | Mitch.Garnaat | 2006-12-11 15:10:42 -0500 (Mon, 11 Dec 2006) | 2 lines Added base64 encoding/decoding of messages going into and out of SQS. This is to accomodate a recent change in SQS behavior that rejects messages containing non-ASCII characters. [boto 0.6c changes] ------------------------------------------------------------------------ r60 | Mitch.Garnaat | 2006-11-22 07:29:43 -0500 (Wed, 22 Nov 2006) | 3 lines Refactored some of the S3 code to eliminate circular dependencies. [boto 0.6b changes] ------------------------------------------------------------------------ r56 | Mitch.Garnaat | 2006-11-21 10:13:24 -0500 (Tue, 21 Nov 2006) | 2 lines Making sure all paths are properly escaped in S3 requests. Fixes Issue-16. [boto 0.6a changes] ------------------------------------------------------------------------ r53 | Mitch.Garnaat | 2006-11-19 11:22:16 -0500 (Sun, 19 Nov 2006) | 2 lines Updated to S3 tutorial with a simple example of metadata usage. ------------------------------------------------------------------------ r52 | Mitch.Garnaat | 2006-11-19 11:15:22 -0500 (Sun, 19 Nov 2006) | 3 lines Added ability to set/get metadata values on Key objects. Also updated unit tests to test new capability. Fixes Issue-15. ------------------------------------------------------------------------ r51 | Mitch.Garnaat | 2006-11-14 17:03:55 -0500 (Tue, 14 Nov 2006) | 3 lines Added support for MD5 verification on upload. Incorporated contributed code from Giao Phan. Fixes Issue-14. [boto 0.5a changes] ------------------------------------------------------------------------ r48 | Mitch.Garnaat | 2006-11-02 20:25:51 -0500 (Thu, 02 Nov 2006) | 3 lines Added support for some ACL operations in S3. The canned ACL's can be set on buckets and keys using the set_acl method. In addition, the get_acl method parses the AccessControlPolicy response sent by S3 and creates corresponding Python objects to represent the ACL, Grants, Grantees, etc. At some point in the future we may support the ability to set arbitrary ACL's but not yet. Fixes Issue-12 and incorporates code contributed by benjaminlyu (thanks!). ------------------------------------------------------------------------ [boto 0.4b changes] ------------------------------------------------------------------------ r44 | Mitch.Garnaat | 2006-10-16 15:08:34 -0400 (Mon, 16 Oct 2006) | 3 lines Changed strftime to use explicit format string rather than %X. Fixes Issue-11. [boto 0.4a changes] r41 | Mitch.Garnaat | 2006-10-16 06:38:24 -0400 (Mon, 16 Oct 2006) | 2 lines Adding distro file for 0.4a release. ------------------------------------------------------------------------ r40 | Mitch.Garnaat | 2006-10-16 06:37:05 -0400 (Mon, 16 Oct 2006) | 2 lines bumping version number. ------------------------------------------------------------------------ r39 | Mitch.Garnaat | 2006-10-15 09:11:41 -0400 (Sun, 15 Oct 2006) | 4 lines Added a load method to queue object, the inverse of the dump method. Fixed typo in SQS tutorial. Fixes Issue-9. ------------------------------------------------------------------------ r38 | Mitch.Garnaat | 2006-09-26 11:12:57 -0400 (Tue, 26 Sep 2006) | 3 lines Added long description entry. Fixes Issue-7. ------------------------------------------------------------------------ r37 | Mitch.Garnaat | 2006-09-26 08:52:17 -0400 (Tue, 26 Sep 2006) | 3 lines Added a lookup method to the bucket object. Uses a HEAD request to determine if a particular key exists in the bucket or not. Also updated the unit test script to test this feature. ------------------------------------------------------------------------ r36 | Mitch.Garnaat | 2006-09-24 18:59:12 -0400 (Sun, 24 Sep 2006) | 3 lines Added the release egg. ------------------------------------------------------------------------ r35 | Mitch.Garnaat | 2006-09-24 18:52:06 -0400 (Sun, 24 Sep 2006) | 3 lines Changed comment about no documentation available. Now points users to doc directory. ------------------------------------------------------------------------ r34 | Mitch.Garnaat | 2006-09-24 18:50:16 -0400 (Sun, 24 Sep 2006) | 3 lines Added changes from 2a to 3a. Bumped version numbers to 0.3a. ------------------------------------------------------------------------ r33 | Mitch.Garnaat | 2006-09-24 18:47:52 -0400 (Sun, 24 Sep 2006) | 3 lines A start on the tutorial for S3 usage. Partially fixes Issue-2. [boto 0.3a changes] ------------------------------------------------------------------------ r32 | Mitch.Garnaat | 2006-09-22 10:52:07 -0400 (Fri, 22 Sep 2006) | 3 lines Added section to describe get_all_queues method. Added some section headings. ------------------------------------------------------------------------ r31 | Mitch.Garnaat | 2006-09-20 22:16:24 -0400 (Wed, 20 Sep 2006) | 3 lines Added a get_contents_as_string method. Fixes Issue-6. ------------------------------------------------------------------------ r30 | Mitch.Garnaat | 2006-09-20 22:13:04 -0400 (Wed, 20 Sep 2006) | 2 lines Modified for new integer output of get_timeout method. ------------------------------------------------------------------------ r29 | Mitch.Garnaat | 2006-09-20 16:14:17 -0400 (Wed, 20 Sep 2006) | 2 lines Fixed stupid bug in last checkin. ------------------------------------------------------------------------ r28 | Mitch.Garnaat | 2006-09-20 15:34:12 -0400 (Wed, 20 Sep 2006) | 3 lines Now automatically re-establishes HTTP connection with service if keep-alive times out or pipe is broken. Fixes Issue-4. ------------------------------------------------------------------------ r27 | Mitch.Garnaat | 2006-09-20 15:31:39 -0400 (Wed, 20 Sep 2006) | 3 lines Added set_body() method, torched parse_body(). Fixed Issue-5. ------------------------------------------------------------------------ r26 | Mitch.Garnaat | 2006-09-20 15:30:35 -0400 (Wed, 20 Sep 2006) | 3 lines get_timeout method now returns int rather than string. Fixes Issue-3. ------------------------------------------------------------------------ r25 | Mitch.Garnaat | 2006-09-20 15:29:44 -0400 (Wed, 20 Sep 2006) | 3 lines Added tutorial for SQS use. Partially fixes Issue-2. ------------------------------------------------------------------------ r24 | Mitch.Garnaat | 2006-09-20 15:28:24 -0400 (Wed, 20 Sep 2006) | 3 lines Documented environment variables used. Fixes Issue-1.