Giter Site home page Giter Site logo

wrought / open-access-media-importer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wpoa/open-access-media-importer

0.0 1.0 0.0 573 KB

An automated tool for importing media files in Open Access articles into Wikimedia Commons

Home Page: http://en.wikiversity.org/wiki/User:OpenScientist/Open_grant_writing/Wissenswert_2011/Documentation

Python 99.32% Shell 0.68%

open-access-media-importer's Introduction

The aim of this project is to write a tool that would:
* regularly spider PubMed Central to locate audio and video files published in the supplementary materials of CC BY-licensed articles in the Open subset
* convert these files to OGG
* upload them to Wikimedia Commons, along with the respective metadata
* provide for easy extension to other CC-BY sources, beyond PubMed Central
* (possibly) suggest Wikipedia articles for which the video might be relevant

Wiki page:
    http://en.wikiversity.org/wiki/User:OpenScientist/Open_grant_writing/Wissenswert_2011

Commands:
    oa-get [download-metadata|download-media] [dummy|pmc|pmc_doi]
    oa-cache [browse-database|clear-database|clear-media|convert-media|find-media|list-articles|stats] [dummy|pmc|pmc_doi]
    oa-put upload-media [dummy|pmc|pmc_doi]

Dependencies:
    python-dateutil <http://pypi.python.org/pypi/python-dateutil>
    python-elixir <http://elixir.ematia.de/trac/wiki>
    python-gst0.10 <http://gstreamer.freedesktop.org/modules/gst-python.html>
    python-magic <http://www.darwinsys.com/file/>
    python-mutagen <http://code.google.com/p/mutagen/>
    python-progressbar <http://pypi.python.org/pypi/progressbar/2.2>
    python-xdg <http://freedesktop.org/wiki/Software/pyxdg>
    python-werkzeug <http://werkzeug.pocoo.org/>
    python-wikitools <http://code.google.com/p/python-wikitools/> (python-wikitools was imported into our tree and patched to ease deployment)

Recommendations:
    sqlitebrowser <http://sqlitebrowser.sourceforge.net/>

To use the upload feature of oa-put, copy the userconfig.example file to
“$HOME/config/open-access-media-importer/userconfig”.

A screencast showing usage can be played back with “ttyplay screencast”.

To plot mimetypes occurring in sources, install python-matplotlib and pipe the output of “oa-cache stats [source]” to the included plot-helper script.

open-access-media-importer's People

Contributors

erlehmann avatar raphaelwimmer avatar daniel-mietchen avatar

Watchers

Matt Senate avatar

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.