Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

TV Guide Generator

Project Description
# TV GUIDE Generator

Python script used to generate tv guide in many formats

## Requirement
+ Python 2.7
+ pip ans setuptools
+ lxml

## Installation

The installation steps assume that you have the following things installed:
+ Python 2.7
+ pip and setuptools Python packages. Nowadays pip requires and installs setuptools if not installed. Python 2.7.9 and later include pip by default, so you may have it already.
+ lxml. Most Linux distributions ships prepackaged versions of lxml. Otherwise refer to http://lxml.de/installation.html

You can install Tvguidegen using pip (which is the canonical way to install Python packages). To install using pip run:

`pip install tvguidegen`

## Supported Formats
+ [XMLTV](http://wiki.xmltv.org/index.php/XMLTVProject) format. see [DTD](http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd).


## Typical usage

+ With JSON file source:

`~# tvgg -c /data/tvguide.json -o <outputfile> --m3u-channels=/data/mym3uchannels.json`

+ With mongodb collection source:

`~# tvgg -c channels_collection -o <outputfile> --m3u-channels=http://exaple.com/list.m3u --mongodb-uri=localhost --mongodb-db=tvguide --limit=50`

### Command Line Arguments
```
-c, --channels Filename path with Channels and TV programing content in JSON format
or a Mongodb collection name.

-o, --output Output filename. If not set, Tv guide will be output to STDOUT.

--m3u-channels Filename path or url with your channels names (Eg. From m3u playlist) in M3U format (Optionnal)
This useful to match your channels with tv guide source data

--mongodb-uri Mongodb HOST URI.(Optionnal)
If is set,--channels and --m3u-channels are selected from Mongodb\s collections
Default: 127.0.0.1

--mongodb-db Mongodb DATABASE Name. (Optionnal)
Default: tvguide

-l, --limit Limit channels to generate. (Optionnal)

--m3u-only Export only matched channels.

-v Verbose script execution. (Optionnal)
```

### LICENCE

The MIT License (MIT)
Release History

Release History

This version
History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tvguidegen-0.2.4.tar.gz (9.6 kB) Copy SHA256 Checksum SHA256 Source Dec 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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