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
- Host: GitHub
- URL: https://github.com/gardiner91/PyUPnP
- Owner: fuzeman
- License: gpl-3.0
- Created: 2012-12-29T02:12:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-04T06:38:09.000Z (over 13 years ago)
- Last Synced: 2024-11-08T13:54:08.843Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 211 KB
- Stars: 9
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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