From a445b82de44bacef18030ce1b33a3e31300e15dd Mon Sep 17 00:00:00 2001 From: "bart@bambam" Date: Wed, 27 Dec 2017 18:59:52 +0100 Subject: [PATCH] version 0.2.4 --- Afvalwijzer/__init__.py | 2 +- HISTORY.rst | 6 ++++++ README.rst | 28 ++++++++++++---------------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/Afvalwijzer/__init__.py b/Afvalwijzer/__init__.py index 4407c3e..4cb086f 100644 --- a/Afvalwijzer/__init__.py +++ b/Afvalwijzer/__init__.py @@ -3,6 +3,6 @@ __license__ = 'MIT' __maintainer_email__ = 'bart@bamweb.nl' __url__ = 'https://github.com/bambam82/afvalwijzer', -__version__ = '0.2.1' +__version__ = '0.2.4' from .Afvalwijzer import Afvalwijzer diff --git a/HISTORY.rst b/HISTORY.rst index 2d7cec0..7430b64 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,7 +1,13 @@ .. :changelog: + Release History --------------- +0.2.4 (2017-08-27) +++++++++++++++++++ +- Fixed rst issues; now showing correct html on pypi +- learned about ``python setup.py checkdocs``; require *pygments* and *collective.checkdocs* + 0.2.1 (2017-08-26) ++++++++++++++++++ - Changing the way of working with '__version__' diff --git a/README.rst b/README.rst index 5188d23..1e06de5 100644 --- a/README.rst +++ b/README.rst @@ -1,29 +1,30 @@ Afvalwijzer library =================== -|PyPi Status| |Build Status| |Coverage Status| |Wheel| |Python versions| +|PyPi Status| |Build Status| |Coverage Status| |Wheel Status| |Python versions| -This library is meant to interface with http://www.mijnafvalwijzer.nl/ +This library is meant to interface with `mijnafvalwijzer `__. It is meant as a *workaround* for the afvalwijzer app (used in the Netherlands) to be notified when to place the bin at the road. Since this app delivers a poor functionality for notifications, and I needed a small project, I created this. Installation ------------ + .. code:: bash pip install afvalwijzer - Uninstallation -------------- + .. code:: bash pip uninstall afvalwijzer - Usage ----- + .. code:: python >>> from Afvalwijzer import Afvalwijzer @@ -40,7 +41,6 @@ Usage >>> garbage.garbage ('Vandaag', 'Groente-, Fruit- en Tuinafval') - The following function only returns true if the pickup date is the same as today. .. code:: python @@ -52,8 +52,6 @@ Below is shown how I use it to get notified using pushbullet. .. code:: python - #!/usr/bin/env python3 - from Afvalwijzer import Afvalwijzer from pushbullet import Pushbullet @@ -81,7 +79,6 @@ Below is shown how I use it to get notified using pushbullet. if notify and pushbulletapi: notification(pushbulletdevice) - Cron job -------- This script can now be set up as a cronjob on your server or alike. @@ -90,23 +87,22 @@ This script can now be set up as a cronjob on your server or alike. 0 6 * * * cd /path/to/script/notify_garbage.py > /dev/null 2>&1 - Caveat ------ * Output is provided in Dutch due to the main website. There is a button for English, but I haven't got it working (yet). Contributors are most welcome ----------------------------- -I'm still learning how to work with it all. Therefore feedback, advice, pull request etc. are most welcome. - +* I'm still learning how to work with it all. Therefore feedback, advice, pull request etc. are most welcome. +.. |Wheel Status| image:: https://img.shields.io/pypi/wheel/afvalwijzer.svg + :target: https://pypi.python.org/pypi/afvalwijzer +.. |Python versions| image:: https://img.shields.io/pypi/pyversions/afvalwijzer.svg + :target: https://pypi.python.org/pypi/afvalwijzer .. |PyPi Status| image:: https://img.shields.io/pypi/v/afvalwijzer.svg :target: https://pypi.python.org/pypi/afvalwijzer .. |Build Status| image:: https://travis-ci.org/bambam82/afvalwijzer.svg?branch=master :target: https://travis-ci.org/bambam82/afvalwijzer .. |Coverage Status| image:: https://coveralls.io/repos/github/bambam82/afvalwijzer/badge.svg?branch=master -:target: https://coveralls.io/github/bambam82/afvalwijzer?branch=master -.. |Wheel| image:: https://img.shields.io/pypi/wheel/afvalwijzer.svg - :target: https://pypi.python.org/pypi/afvalwijzer -.. |Python versions| image:: https://img.shields.io/pypi/pyversions/afvalwijzer.svg - :target: https://pypi.python.org/pypi/afvalwijzer + :target: https://coveralls.io/github/bambam82/afvalwijzer?branch=master +