GithubHelp home page GithubHelp logo

jacobb / prowlpy Goto Github PK

View Code? Open in Web Editor NEW
76.0 76.0 28.0 360 KB

Python module for Prowl iPhone notification service

Home Page: http://www.jacobburch.com/prowlpy

License: Other

Python 100.00%

prowlpy's People

Contributors

0sn avatar babs avatar jacobb avatar ohe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

prowlpy's Issues

installing module

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

body=urllib.urlencode(data)) error in Python 2.6

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
}

Publish on PyPI?

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!

No longer working

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.

Newlines '\n' are being escaped.

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.