Giter VIP home page Giter VIP logo

boto3-sample's Introduction

Boto 3 Sample Application

This application implements a drop video transcoder that lets you easily convert media files by dragging and dropping them on your computer. It makes use of the following services:

  • AWS IAM
  • Amazon S3
  • Amazon SNS
  • Amazon SQS
  • Amazon Elastic Transcoder

The general flow of the program can be described as:

  1. Ensure AWS setup / permissions
  2. Watch a directory for new files
  3. Upload new files to S3
  4. Create a transcoder job for each input file
  5. Poll for job completed SQS messages
  6. Download transcoded files
  7. Repeat steps 2-7 until user quits (ctrl+c)

Running the Sample Application

First, ensure that you have Boto 3 installed:

pip install -r requirements.txt

Then you can run the transcoder. The first time it is run, it will create a default configuration file for you in ~/.autotranscode.json:

python transcoder.py

Edit the file to suit your local setup and then run the same command again. Once the application is running, you can drag and drop files into your source folder to have them transcoded and downloaded to the destination folder.

boto3-sample's People

Contributors

danielgtaylor avatar evadeflow avatar jamesls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boto3-sample's Issues

bug or other in project

inside of:
# The boto-specific methods.
def bucket_exists(self, bucket_name):

I had to change this:
self.s3.meta.client.head_bucket(Bucket=bucket_name)
to this:
self.s3.meta.get("client", None).head_bucket(Bucket=bucket_name)
to get it to work....
it was throwing error: "dictionary object has no property "client"
I assume I have something wrong but dont' know what.
Can someone tell me why I seem alone in hitting this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.