Skip to content
/ PyUPnP Public

Simple Python UPnP device library built in Twisted

License

Notifications You must be signed in to change notification settings

fuzeman/PyUPnP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <[email protected]>
 
 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 <http://www.gnu.org/licenses/>.

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

About

Simple Python UPnP device library built in Twisted

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages