jonogreenz / py-pushover-open-client Goto Github PK
View Code? Open in Web Editor NEWpy-pushover-open-client aims to provide Python bindings for Pushover's Open Client API
License: MIT License
py-pushover-open-client aims to provide Python bindings for Pushover's Open Client API
License: MIT License
Hi I am developing using this library, so thanks for that, its working really well.
I am using using your repository as a submodule using the syntax:
from py-pushover-open-client.pushover_open_client import Client
However python complains at it has the - symbol in, so I am having to rename the folder locally to
from py_pushover_open_client.pushover_open_client import Client
My repository is here if you wanted to take a look to see what I mean.
IFTTTtoDomoticzUsingPushover
I know there are other ways around this such as taking the python file (with copyright/license/credit, etc) and putting it in my own repository, however I prefer to link to your repository, so it gives you the credit and also if you make updates (such as the empty title issue, which, I also hit).
Any other suggestions welcome.
Thanks Joe
In the init function, you have the following:
self.title = messageJson["title"]
If a message doesn't have a title, this generates a KeyError exception
I've fixed it in my copy by changing this line to say:
self.title = messageJson["title"] if "title" in messageJson else None
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.