Skip to main content

Converts Archive.org video searches into PyVideo.org API submissions.

Project description

Converts Archive.org video searches into PyVideo.org API submissions.

Installation

Just pip install ao2pyv.

Examples

The quick and easy way:

$ ao2pyv --query 'pyconza2014' \
         --category 'PyCon ZA 2014' \
         --language 'English'

The explicit equivalent using a pipeline of commands:

$ ao2pyv \
    source.archive-org --query 'pyconza2014' \
    transform.ao2pyv --category 'PyCon ZA 2014' --language 'English' \
    sink.json -f -

Read the help for each of the commands in the pipeline:

$ ao2pyv --help
$ ao2pyv source.archive-org --help
$ ao2pyv transform.ao2pyv --help
$ ao2pyv sink.json --help

Usage

Usage: ao2pyv [OPTIONS] COMMAND1 [ARGS]… [COMMAND2 [ARGS]…]…

Options:

--version Show the version and exit.
-q, --query TEXT
 Archive.org search query
-c, --category TEXT
 Pyvideo category
-l, --language TEXT
 Pyvideo language
--help Show this message and exit.

Commands:

sink.json:Output results to a file.
source.archive-org:
 Search archive.org for a query and return a…
source.json:Return results from a JSON file.
transform.ao2pyv:
 Transform a video result from archive.org to…
transform.none:Transform a video result not at all.

Project details


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ao2pyv-0.1.1-py2-none-any.whl (5.7 kB) Copy SHA256 hash SHA256 Wheel py2 Aug 23, 2015
ao2pyv-0.1.1.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Aug 23, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page