月度归档:2016年03月

亚马逊联盟API上手指南 – Amazon.cn Product Advertising API quick start

中文注册页面 : https://associates.amazon.cn/

英文注册页面: https://associates.amazon.com/

如何申请美国Amazon联盟注册教程

亚马逊联盟API上手指南 – Amazon.cn Product Advertising API quick start

python-amazon-product-api

Docs: Product Advertising API

Signed Requests Helper

scratchpad

python音、视频处理

http://zulko.github.io/moviepy/index.html

MoviePy is a Python module for video editing, which can be used for basic operations (like cuts, concatenations, title insertions), video compositing (a.k.a. non-linear editing), video processing, or to create advanced effects. It can read and write the most common video formats, including GIF.

https://wiki.python.org/moin/AudioVideo

Audio and Video

Some Python-based projects related to audio and video. See also Screencasting.

Audio/Music Editors

Jokosher – a complete application for recording, editing, mixing and exporting audio
See also PythonInMusic for more projects.

Audio/Music Players

FUPlayer – a music player with management and CD ripping/burning capabilities
Listen – an audio player with music management features
Quod Libet – an audio player with scalable management of music collections (more than “a mere 10000 songs”)
TimPlayer – a PyGTK based music player using GStreamer (see http://creationix.com/OpenSource/TimPlayer/)
Libraries and Frameworks

GStreamer – an audio/video playback framework – has Python bindings
MLT – an open source multimedia framework, designed and developed for television broadcasting – has Python bindings
MoviePy – a Python library for script-based movie editing (cuts, concatenations, text insertion, non-linear editing)
See also Audio for details of Python audio libraries.

Media Centres

Elisa – an open source cross-platform media centre solution
Freevo – Linux multimedia jukebox
Streaming

Boxtream – a mobile and autonomous audio and video streaming and recording studio (uses GStreamer)
Flumotion – a streaming media server (uses GStreamer)
Video Editors

OpenShot – an open source video editor, written in Python and based on MLT and PyGtk
Pitivi – an open source video editor, written in Python and based on GStreamer and GTK+

python rest Web browsable API

Django REST framework

Django REST framework is a powerful and flexible toolkit for building Web APIs.

Some reasons you might want to use REST framework:

The Web browsable API is a huge usability win for your developers.
Authentication policies including packages for OAuth1a and OAuth2.
Serialization that supports both ORM and non-ORM data sources.
Customizable all the way down – just use regular function-based views if you don’t need the more powerful features.
Extensive documentation, and great community support.
Used and trusted by large companies such as Mozilla and Eventbrite.

flask-restful-swagger

flask-restful-swagger is a wrapper for flask-restful which enables swagger support.

In essense, you just need to wrap the Api instance and add a few python decorators to get full swagger support.

Flask API

Flask API is an implementation of the same web browsable APIs that Django REST framework provides.

It gives you properly content negotiated responses and smart request parsing.

It is currently a work in progress, but the fundamentals are in place and you can already start building kick-ass browsable Web APIs with it. If you want to start using Flask API right now go ahead and do so, but be sure to follow the release notes of new versions carefully.