Permalink
Browse files

Initial commit.

  • Loading branch information...
0 parents commit a56dd32817bcaa9370f3f95fdd7c7c28c62fdcee @lericson committed Jan 8, 2009
Showing with 533 additions and 0 deletions.
  1. +23 −0 LICENSE
  2. +1 −0 MANIFEST.in
  3. +1 −0 README
  4. +12 −0 TODO
  5. +32 −0 setup.py
  6. +464 −0 simples3.py
@@ -0,0 +1,23 @@
+Copyright (c) 2008, Ludvig Ericson
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1 @@
+include LICENSE README TODO setup.py simples3.py
@@ -0,0 +1 @@
+I like boobs.
@@ -0,0 +1,12 @@
+Already written: A Django file storage adapter. Kept closed because it's not
+polished. If there's a huge demand, I'll most likely publish it.
+
+Deleting buckets? Creating buckets? These are both fairly simple to implement,
+but they somehow feel outside of the scope of a simple API.
+
+Perhaps some unittests.
+
+Perhaps a CLI á la FTP.
+
+Some way to stream upload files, using Transfer-Encoding: chunked. This would
+mean skipping urllib2 for that request entirely, as it's simply incompatible.
@@ -0,0 +1,32 @@
+from distutils.core import setup, Extension
+
+import simples3
+long_description = """
+`simples3` is a fairly simple, decently quick interface to Amazon's S3 storage
+service.
+
+It grew out of frustration with other libraries that were either written too
+pragmatically (slow), too bloatedly, or just half-done.
+
+The module aims for:
+
+ * simplicity,
+ * decent speed,
+ * non-intrusiveness.
+
+It really is designed to fit into programmer memory. The three basic operations
+are as easy as with dictionaries.
+
+Out of simplicity comes no dependencies - the code relies solely on Python
+standard libraries.
+
+The perhaps greatest setback is that it requires Python 2.5, nothing more,
+nothing less.
+""" + simples3.__doc__
+
+setup(name="simples3", version="0.1",
+ url="http://lericson.se/",
+ author="Ludvig Ericson", author_email="ludvig@lericson.se",
+ description="Simple, quick Amazon AWS S3 interface",
+ long_description=long_description,
+ py_modules=["simples3"])
Oops, something went wrong.

0 comments on commit a56dd32

Please sign in to comment.