Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brainstorming. possible suggestions. #16

Open
kdschlosser opened this issue Dec 5, 2018 · 0 comments
Open

brainstorming. possible suggestions. #16

kdschlosser opened this issue Dec 5, 2018 · 0 comments

Comments

@kdschlosser
Copy link

I just found this library after I had already spent some time building one. It appears as tho there is not a whole lot out there for UPNP for python. Not sure as to why.

I thought you may want to have a look at what I have done thus far. I didn't see any place that specifically dealt with any vendor xml name spaces. did you do anything to handle this? I am not sure as to how to parse for namespaces other then just doing string searching. I do not know if there is a better way or not.

maybe you would be willing to have a look see and if there is something I have missed you can point it out. I think my biggest thing at this point are the schemas.

https://github.com/kdschlosser/UPNP_Device

I did add a nice little printout that can display any part of the UPNP structure by simply printing that part. or you can print out the whole thing as well.

code is as simple as this

import UPNP_Device

for device in UPNP_Device.discover(timeout=3):
    print(device)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant