An open API service indexing awesome lists of open source software.

https://github.com/gardiner91/PyUPnP

Simple Python UPnP device library built in Twisted
https://github.com/gardiner91/PyUPnP

Last synced: about 2 months ago
JSON representation

Simple Python UPnP device library built in Twisted

Awesome Lists containing this project

README

          

PyUPnP
======
*Simple Python UPnP device library built in Twisted*

**NOTE:** PyUPnP doesn't implement ContentDirectory, ConnectionManager, etc.. services.

**We do** provide some shell classes with the actions, state variables and method signatures
already setup as per the UPnP spec, So all you need to do is inherit the shell class and
implement the methods.

See https://github.com/fuzeman/PyUPnP/blob/master/examples/mediaserver/main.py
for an example of how to get started.

### License ###

PyUPnP - Simple Python UPnP device library built in Twisted
Copyright (C) 2013 Dean Gardiner

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see .

### Debugging / Logging ###

To enable debugging just call the following

Logr.configure(logging.DEBUG)

----

def configure(level=logging.WARNING, handler=None, formatter=None)

If **handler** is None it defaults to `logging.StreamHandler`

If **formatter** is None it defaults to an internal formatter found in the `logr` module