Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    pyawsbuckets 1.0.5

    Download button

    No screenshots available
    Downloads: 113  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mark Henwood | More programs
    MIT/X Consortium Lic... / FREE
    August 22nd, 2011, 21:34 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pyawsbuckets description

    Handle Amazon S3 PUT/DELETE/sign interactions

    pyawsbuckets provides objects / files that can be put in S3 and deleted from S3. Also signed URLs can be generated to allow limited-time access to a particular object in an S3 bucket.

    Available as Python package at http://pypi.python.org/pypi/pyawsbuckets [ pip install pyawsbuckets ] Source at https://github.com/mhenwood/pyawsbuckets

    Usage

    Initiate the access object with your credentials:

    from pyawsbuckets import AwsInterface
    aws_interface = AwsInterface(amazon_access_key, amazon_secret_key)


    Put an object into an existing bucket at S3 (repeat: the bucket must ALREADY exist):

    aws_interface.put('https', 'bucket999', 'somefile.pdf', content)

    Delete an object from S3:

    aws_interface.delete('bucket999', 'somefile.pdf')

    Get a signed URL which gives access to a private object, but only for (e.g.) 15 minutes:

    expiring_url = aws_interface.sign_object_request('https', 'bucket999', 'somefile.pdf', 15)


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Amazon S3 | sign interactions | Amazon | S3 | PUT

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM