jacobb / prowlpy Goto Github PK
View Code? Open in Web Editor NEWPython module for Prowl iPhone notification service
Home Page: http://www.jacobburch.com/prowlpy
License: Other
Python module for Prowl iPhone notification service
Home Page: http://www.jacobburch.com/prowlpy
License: Other
hey guys i keep getting this when i try installing the module
Traceback (most recent call last):
File "setup.py", line 10, in
from prowlpy import author
File "python/prowlpy.py", line 13, in
from httplib2 import Http
File "/Library/Python/2.6/site-packages/httplib2/init.py", line 38, in
import http.client
ImportError: No module named http.client
would you mind helping me out? I'm running the python version that comes standard with OSX Snow Leopard
Any chance prowlpy could get published to PyPI? It would make it much easier to distribute packages which depend on it.
Thanks in advance, and thanks for writing such a useful library!
Whenever I try to send a notification it says
Unauthorized Probably invalid API key <key>
The API key is perfectly valid I checked it Prowl site its self, and other programs that use Prowl.
Not sure if this is a url escaping issue or not, but newlines are being sent in escaped instead of adding a line.
ex: description = "Line1\nLine2\n"
I got this error for a message that contained an apostrophy in the body (description):
File "/usr/lib64/python2.6/urllib.py", line 1261, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in position 42: ordinal not in range(128)
A workaround is to first convert the description to Unicode:
data = {
'apikey': self.apikey,
'application': application,
'event': event,
'description': description.encode('utf-8'),
'priority': priority
}
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.