ao2pyv
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.
Metadata
Release files for ao2pyv 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ao2pyv-0.1.1.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ao2pyv-0.1.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 9.6 kB
Release files / ao2pyv-0.1.1.tar.gz
| Download URL | ao2pyv-0.1.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc8c6c2b12254fcee2e69176a9257b10f1085c9acc40b1e964d6537ac2e9656b
|
|
BLAKE2b-256 checksum How to use checksums |
62609bd418ec9ebe47651309bcafae558b24a4646f78386b6c34519f55f355f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ao2pyv-0.1.1-py2-none-any.whl
| Download URL | ao2pyv-0.1.1-py2-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b4c691dcd4a4453b8e43846363741ffee460a5a506dd38527a0c0f2c4a034b39
|
|
BLAKE2b-256 checksum How to use checksums |
a94e593954760614da8d691362d94fb41b18b7b42a55b0eb27e450256b13869f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |