aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-08-16Update MANIFEST.inv0.2Thibaut Horel
2014-08-16Add AUTHORS.rst update setup.pyThibaut Horel
2014-08-16Update ChangelogThibaut Horel
2014-08-16Command line utility: add epilog and versionThibaut Horel
2014-08-16Add copyright noticeThibaut Horel
2014-08-16Better helpThibaut Horel
2014-08-16Fix bug: incorrect reading of configuration fileThibaut Horel
2014-08-16Fix conflicting argument on the command lineThibaut Horel
2014-08-16Update the documentationThibaut Horel
2014-08-16Add some parameters to the command line utilityThibaut Horel
2014-08-16Better handling of the parametersThibaut Horel
2014-08-16PEP8Thibaut Horel
2014-07-29Add support for python3Thibaut Horel
2014-07-28Specify minimum version number for requests dependencyThibaut Horel
2014-07-28Merge branch 'master' of https://github.com/Crupuk/python-pushoverThibaut Horel
Conflicts: pushover.py use `value is True` instead of `value == True`
2014-07-28Fix #3 add console script entry pointThibaut Horel
2014-07-28Fix #6 using setuptools rather than distutils, time to use modern packagingThibaut Horel
2014-07-28Fix #2 proper dependencies resolutionThibaut Horel
2014-07-25Fix #4 typo in the documentationThibaut Horel
2014-07-25Merge pull request #5 from sbirch/patch-1Thibaut Horel
Convenience function to create a client
2014-07-23Addressed changesSam Birch
2014-07-23Merge pull request #8 from sbirch/masterThibaut Horel
Fix string representation of Request objects
2014-07-22Should stringify before return as well...Sam Birch
(self.answer is a dict)
2014-07-22init() in get_client()Sam Birch
I think it makes sense to init() in here too, and allow the user to keep the api_tokens in the config file.
2014-07-22print -> returnSam Birch
I think this is supposed to be a return rather than a print. Print returns none and string serialization fails.
2014-07-22Clarified some of the termsSam Birch
2014-07-22Convenience function to create a clientSam Birch
Loads a config file at and creates a client according to various options. Handy IMO so you don't have to constantly look up your user key etc. Has some precedent in a similar system used by boto for AWS credentials (http://boto.readthedocs.org/en/latest/boto_config_tut.html)
2013-08-26Update condition for timestampCrupuk
We need to test boolean only : >>> key="timestamp" >>> value="123456" >>> >>> if key == "timestamp" and value: ... print "Value <> True but, still true" ... else: ... print "value <> True and false" ... Value <> True but, still true
2013-07-22Merge pull request #1 from Crupuk/patch-1Thibaut Horel
Use true timestamp to avoid "Invalid timestamp"
2013-07-22Use true timestamp to avoid "Invalid timestamp"Crupuk
With the original version i got : python /usr/lib/python2.6/site-packages/pushover.py --token "NU2LC5g2G9jgVR9eHVLYAUmkFuPeky" --client "FWhJFb5wgV35bmzmaxeV976K1WqaFE" "Hello" Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pushover.py", line 227, in <module> url_title=args.url_title, timestamp=True) File "/usr/lib/python2.6/site-packages/pushover.py", line 207, in send_message return MessageRequest(payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 104, in __init__ Request.__init__(self, "post", MESSAGE_URL, payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 86, in __init__ raise RequestError(self.answer["errors"]) __main__.RequestError: ==> timestamp is invalid By casting time.time() the error disappears
2013-07-22Use true timestamp to avoid "Invalid timestamp"Crupuk
With the original version i got : python /usr/lib/python2.6/site-packages/pushover.py --token "NU2LC5g2G9jgVR9eHVLYAUmkFuPeky" --client "FWhJFb5wgV35bmzmaxeV976K1WqaFE" "Hello" Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pushover.py", line 227, in <module> url_title=args.url_title, timestamp=True) File "/usr/lib/python2.6/site-packages/pushover.py", line 207, in send_message return MessageRequest(payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 104, in __init__ Request.__init__(self, "post", MESSAGE_URL, payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 86, in __init__ raise RequestError(self.answer["errors"]) __main__.RequestError: ==> timestamp is invalid By casting time.time() the error disappears
2013-04-17Add .gitignoreThibaut Horel
2013-04-17Add MANIFEST.in filev0.1Thibaut Horel
2013-04-16Adding some more meta-informationThibaut Horel
2013-04-16Restructure the documentationThibaut Horel
2013-04-16Use flask-sphinx-theme for the documentationThibaut Horel
2013-04-13Add some documentationThibaut Horel
2013-04-12Make the library callable as a script for basic message sendingThibaut Horel
2013-04-12Add an __all__ variable to limit the exported methodsThibaut Horel
2013-04-11Initial commitThibaut Horel