This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
python-media-hosts gets media info from sites like Youtube and Soundcloud.

**This library is broken and unmaintained, new contributors are welcome.**

Which informations does it return ?
==============================

Depending on the queried hosting service, the returned data can contain the
following keys:

- ``authors``
- ``beats_per_minute``
- ``comment_count``
- ``coverart_url``
- ``description``
- ``downloads``
- ``duration``
- ``favorite_count``
- ``genres``
- ``license``
- ``published``
- ``purchase_url``
- ``rating``
- ``recorded``
- ``tags``
- ``thumbnails``
- ``title``
- ``view_count``
- ``waveform_url``

The following keys are always present:

- ``id``
- ``service``
- ``type`` (audio or video)

Installation
============

pip install media-hosts

media-hosts is compatible with python 2 and 3.

Dependencies:

- miss
- requests

Optional dependencies:

- python-dateutil: to parse dates returned by various APIs
- jsonpickle: for __main__.py

Usage
=====

From python::

from media_hosts import MediaHosts, MediaHostException
media_hosts = MediaHosts(_=_, settings=settings)
media_hosts.get_info_by_url(url)

From the command line::

$ python -m media_hosts 'https://www.youtube.com/watch?v=Gn3QXjNQNsk'

License
=======

`CC0 Public Domain Dedication <http: creativecommons.org="" publicdomain="" zero="" 1.0=""/>`_
Release History

Release History

0.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
media_hosts-0.5-py3-none-any.whl (20.5 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Mar 9, 2016
media-hosts-0.5.tar.gz (13.4 kB) Copy SHA256 Checksum SHA256 Source Mar 9, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting