{
"info": {
"author": "Bart Dorlandt",
"author_email": "bart@bamweb.nl",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: MIT License",
"Natural Language :: Dutch",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "Afvalwijzer library\n===================\n\n|PyPi Status| |Build Status| |Coverage Status| |Wheel Status| |Python versions|\n\nThis library is meant to interface with `mijnafvalwijzer `__.\n\nIt is meant as a *workaround* for the afvalwijzer app (used in the Netherlands) to be notified when to place the bin at the road.\nSince this app delivers a poor functionality for notifications, and I needed a small project, I created this.\n\nInstallation\n------------\n\n.. code:: bash\n\n pip install afvalwijzer\n\nUninstallation\n--------------\n\n.. code:: bash\n\n pip uninstall afvalwijzer\n\nUsage\n-----\n\n.. code:: python\n\n >>> from Afvalwijzer import Afvalwijzer\n >>> zipcode = '3564KV'\n >>> number = '13'\n >>> garbage = Afvalwijzer(zipcode, number)\n\n >>> garbage.pickupdate\n 'Vandaag'\n\n >>> garbage.wastetype\n 'Groente-, Fruit- en Tuinafval'\n\n >>> garbage.garbage\n ('Vandaag', 'Groente-, Fruit- en Tuinafval')\n\n >>> garbage.pickupdates\n ['dinsdag 02 januari', 'dinsdag 02 januari']\n\n >>> garbage.wastetypes\n ['Groente-, Fruit- en Tuinafval', 'Kerstbomen']\n\nThe following function only returns true if the pickup date is the same as today.\n\n.. code:: python\n\n >>> garbage.notify\n True\n\nBelow is shown how I use it to get notified using pushbullet.\n\n.. code:: python\n\n from Afvalwijzer import Afvalwijzer\n from pushbullet import Pushbullet\n\n\n def notification(device=None):\n pb = Pushbullet(pushbulletapi)\n try:\n mydevice = pb.get_device(device)\n except:\n mydevice = None\n push = pb.push_note(\n \"Container: {}\".format(wastetype),\n \"Container: {}\\nDate: {}\".format(wastetype, pickupdate),\n device=mydevice)\n\n\n zipcode = '3564KV'\n number = 13\n pushbulletapi = 'pushbullet_api_key'\n pushbulletdevice = 'LGE Nexus 5X'\n\n garbage = Afvalwijzer(zipcode, number)\n pickupdate, wastetype = garbage.garbage\n notify = garbage.notify\n if notify and pushbulletapi:\n notification(pushbulletdevice)\n\nCron job\n--------\nThis script can now be set up as a cronjob on your server or alike.\n\n.. code:: bash\n\n 0 6 * * * cd /path/to/script/notify_garbage.py > /dev/null 2>&1\n\nCaveat\n------\n* Output is provided in Dutch due to the main website. There is a button for English, but I haven't got it working (yet).\n\nContributors are most welcome\n-----------------------------\n* I'm still learning how to work with it all. Therefore feedback, advice, pull request etc. are most welcome.\n\n.. |Wheel Status| image:: https://img.shields.io/pypi/wheel/afvalwijzer.svg\n :target: https://pypi.python.org/pypi/afvalwijzer\n.. |Python versions| image:: https://img.shields.io/pypi/pyversions/afvalwijzer.svg\n :target: https://pypi.python.org/pypi/afvalwijzer\n.. |PyPi Status| image:: https://img.shields.io/pypi/v/afvalwijzer.svg\n :target: https://pypi.python.org/pypi/afvalwijzer\n.. |Build Status| image:: https://travis-ci.org/bambam82/afvalwijzer.svg?branch=master\n :target: https://travis-ci.org/bambam82/afvalwijzer\n.. |Coverage Status| image:: https://coveralls.io/repos/github/bambam82/afvalwijzer/badge.svg?branch=master\n :target: https://coveralls.io/github/bambam82/afvalwijzer?branch=master\n\n\n\n.. :changelog:\n\nRelease History\n---------------\n\n0.2.7 (2018-01-01)\n++++++++++++++++++\n- Verification added for zipcode value\n- Test added for assert on the raise\n\n0.2.6 (2017-12-31)\n++++++++++++++++++\n- Change the dates in 'HISTORY.rst' to the correct month\n- Library also returns a list for multiple dates highlighted on the webpage\n\n0.2.5 (2017-12-28)\n++++++++++++++++++\n- Improving the python packaging, following: `Python packaging `__\n\n0.2.4 (2017-12-27)\n++++++++++++++++++\n- Fixed rst issues; now showing correct html on pypi\n- learned about ``python setup.py checkdocs``; require *pygments* and *collective.checkdocs*\n\n0.2.1 (2017-12-26)\n++++++++++++++++++\n- Changing the way of working with '__version__'\n- Changed versioning scheme\n- Removed the datetime dependency\n- Rewritten parts and tests to work with python 2.7 and 3.4+\n- Rewritten Markdown to restructured text\n\n0.2 (2017-12-25)\n++++++++++++++++\n- Status Beta\n- Versioning in sync, setup reads it from the program\n- History (this file) added\n- Property decorators instead of traditional getters\n- README improved\n\n0.1 (2017-08-24)\n++++++++++++++++\n**Initial release**\n- first working release\n- py.tests\n- travis-ci\n- pypi\n- hours of troubleshooting the 2 above\n\n\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/bambam82/afvalwijzer",
"keywords": "afval afvalwijzer garbage",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "afvalwijzer",
"package_url": "https://pypi.org/project/afvalwijzer/",
"platform": "",
"project_url": "https://pypi.org/project/afvalwijzer/",
"project_urls": {
"Homepage": "https://github.com/bambam82/afvalwijzer"
},
"release_url": "https://pypi.org/project/afvalwijzer/0.2.7/",
"requires_dist": [
"beautifulsoup4",
"requests"
],
"requires_python": "",
"summary": "Getting the waste date and type for the Netherlands",
"version": "0.2.7"
},
"last_serial": 3454748,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "cf062e361ed4d9a96e733dfd5cc68afe",
"sha256": "13d042345e7f3fec894da9e3061085a3ca5e12de382fdf6aadb010cc61bd1fff"
},
"downloads": -1,
"filename": "afvalwijzer-0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "cf062e361ed4d9a96e733dfd5cc68afe",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, >=3.4, <4",
"size": 3545,
"upload_time": "2017-12-24T18:16:25",
"url": "https://files.pythonhosted.org/packages/7b/36/b9f19bdd4e1b5b499332b38136f3ef52b8b6b79af72b2a5ce0e480949ac0/afvalwijzer-0.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "550ec81835c6ee8ad871a616d9177c86",
"sha256": "6abce63e458561b8e9ec0614274d352ed38cca6dd54485d3f68ecddc9c14af6d"
},
"downloads": -1,
"filename": "afvalwijzer-0.1.tar.gz",
"has_sig": false,
"md5_digest": "550ec81835c6ee8ad871a616d9177c86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, >=3.4, <4",
"size": 3711,
"upload_time": "2017-12-24T18:16:26",
"url": "https://files.pythonhosted.org/packages/45/76/42c80f1f34a9bcb38478662ffb9e36373d1559fde4a742412e104f0bc2c3/afvalwijzer-0.1.tar.gz"
}
],
"0.2": [
{
"comment_text": "",
"digests": {
"md5": "30e4c5a1cb85229a2a2efdf6e7c33606",
"sha256": "a352d1d2d0ecaba1a42bd32bb3bd957470ef5bc4f8af67fcab5590e8240dd6b1"
},
"downloads": -1,
"filename": "afvalwijzer-0.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "30e4c5a1cb85229a2a2efdf6e7c33606",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6157,
"upload_time": "2017-12-25T21:01:12",
"url": "https://files.pythonhosted.org/packages/7d/f5/e608fa41a4b1d84b6ce018ab4b1dcee55b769b17ef401ecd3c21f334d0ae/afvalwijzer-0.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "8cda74702080421ecf16b7aa17724b9f",
"sha256": "2390da3a50429664bd7e53b4db7e84f4ca84f248395d3386d72dcb3508b2f67f"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.tar.gz",
"has_sig": false,
"md5_digest": "8cda74702080421ecf16b7aa17724b9f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4489,
"upload_time": "2017-12-25T21:01:13",
"url": "https://files.pythonhosted.org/packages/6d/f3/5846fbd93de0673e6259c54f4293366049ce43dcdcfdb2d268282d81d094/afvalwijzer-0.2.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "705f24ea3afdf426d64a87eb599d0450",
"sha256": "42a3fd58dcde4ce49f7afb86f9cc8a2923d82ab86fb6187cd6b1a058e93e8ee7"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "705f24ea3afdf426d64a87eb599d0450",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6646,
"upload_time": "2017-12-27T15:51:15",
"url": "https://files.pythonhosted.org/packages/4a/4a/394782d0dd759088a19b827f006cb22806ad36a2f29636beca582225c3d8/afvalwijzer-0.2.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "56657875c594ec92a28b6bbd48b96959",
"sha256": "8dbb739aa6e560e9c102ba9dd00fa37e060ff2b50f9f675c0aa0905af80b3e9d"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "56657875c594ec92a28b6bbd48b96959",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4805,
"upload_time": "2017-12-27T15:51:17",
"url": "https://files.pythonhosted.org/packages/cb/32/87e61013909305a3d1d01e780d2f807b5e7540cacd239e378c7c7cd0941d/afvalwijzer-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "89038941c1b3f319bf3802acf59f9756",
"sha256": "7d41865d3fcb772b29fa04bbe72592e1142434acf88f9f9b345e5fbf4d049a83"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "89038941c1b3f319bf3802acf59f9756",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6614,
"upload_time": "2017-12-27T17:15:45",
"url": "https://files.pythonhosted.org/packages/b9/89/ad6e1ab8e594cf1471214cfb59f9cb59cc3fb87400cf6f3a807682a4e2bc/afvalwijzer-0.2.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "08842b14ea294d8d326bae571793b402",
"sha256": "b3d99db93f9d064c82bf9e7b6c24881154effd200063a9ee7e5bb7fccffa58b1"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "08842b14ea294d8d326bae571793b402",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4786,
"upload_time": "2017-12-27T17:15:48",
"url": "https://files.pythonhosted.org/packages/c3/44/f293ef06ca5dbe9e073c2e44ac528692ffdf8e40c176b07452a781ebf062/afvalwijzer-0.2.2.tar.gz"
}
],
"0.2.3": [
{
"comment_text": "",
"digests": {
"md5": "0f1d2469107b3ae9f2b1d347b8b205c3",
"sha256": "b2e26c068efa84b2eab1026cc486999fbb8c3aa4b3eb21babe7223813a07c51b"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.3-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0f1d2469107b3ae9f2b1d347b8b205c3",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6620,
"upload_time": "2017-12-27T17:50:41",
"url": "https://files.pythonhosted.org/packages/ea/33/5bdc298d971d86bb8ef926805991bdab87b5bf34b12b9b3ab952df7e2ae2/afvalwijzer-0.2.3-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f9fd72d22e55230325893ebb21770f24",
"sha256": "39a2a55e8b01b7e11bb5d07b0b2ab0919a5340d77b6e8bb9bd390c1fdef20d77"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "f9fd72d22e55230325893ebb21770f24",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4782,
"upload_time": "2017-12-27T17:50:43",
"url": "https://files.pythonhosted.org/packages/ad/7e/ded664b2961697b1110b65d37b31a97d4f664d3311843aca38a99c88635a/afvalwijzer-0.2.3.tar.gz"
}
],
"0.2.4": [
{
"comment_text": "",
"digests": {
"md5": "128a7931810d0891d02b8c055e1e05bc",
"sha256": "b381d34e3ad89dc70870d96af1d6a9328371b2daf5c45c270b2afc5597a4b5cb"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "128a7931810d0891d02b8c055e1e05bc",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6803,
"upload_time": "2017-12-27T17:59:25",
"url": "https://files.pythonhosted.org/packages/e2/42/95d5845893fbf90ce3dfc39a46e134817f2119f544e07f31542829df8921/afvalwijzer-0.2.4-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "9a393161cd1850e36337e50d20ca9f65",
"sha256": "2c69c5bcac3337f694e7184c1a144cd64b79c720ebf91eb3b618a4dbaad0320d"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.4.tar.gz",
"has_sig": false,
"md5_digest": "9a393161cd1850e36337e50d20ca9f65",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4883,
"upload_time": "2017-12-27T17:59:28",
"url": "https://files.pythonhosted.org/packages/b8/52/b9cfcf6ee2735e9af955779dc542eae03852ef78375c0bbf805a64d269dd/afvalwijzer-0.2.4.tar.gz"
}
],
"0.2.5": [
{
"comment_text": "",
"digests": {
"md5": "279929a01b5b0a1311d5df04a6f6072c",
"sha256": "dc380a8b7223ac5ea2c0f74641b5a03afdd4db20e855c8ce966deb419392c329"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "279929a01b5b0a1311d5df04a6f6072c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6903,
"upload_time": "2017-12-31T10:01:34",
"url": "https://files.pythonhosted.org/packages/80/25/a96d507ba3f2d02a9f8b38c9f97a247b09963284826fc4d77d23d7241a1c/afvalwijzer-0.2.5-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "4b08bba2e3f08381f71e8a42432b9ee5",
"sha256": "6dd60d3ec68ebe40327ab48e6e4ff95a4a2b735ac78fb405bec84986329b51c3"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "4b08bba2e3f08381f71e8a42432b9ee5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5133,
"upload_time": "2017-12-31T10:01:35",
"url": "https://files.pythonhosted.org/packages/a0/0f/97b035a80314cb91fb36c2aa39dc475eab1e42284135d7dd9299a67dc32a/afvalwijzer-0.2.5.tar.gz"
}
],
"0.2.7": [
{
"comment_text": "",
"digests": {
"md5": "60629a279b5eb02516332fe96c9b948c",
"sha256": "6c9c7f99d93eeb1bf44023c9a1f0d1c18b05abd72dca2ded409f85c088cf7d59"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.7-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "60629a279b5eb02516332fe96c9b948c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7406,
"upload_time": "2018-01-01T17:36:53",
"url": "https://files.pythonhosted.org/packages/12/d4/c9cdeb7954e52538723252e29b5614ae090e085de631942c1c7eb975bbe7/afvalwijzer-0.2.7-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "9d948233bc9a9fcd7062ed203793582f",
"sha256": "a57a5cd86a4935f0a8811da4313095847031b7b786827fa9d92057e8b8084e31"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.7.tar.gz",
"has_sig": false,
"md5_digest": "9d948233bc9a9fcd7062ed203793582f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5521,
"upload_time": "2018-01-01T17:36:55",
"url": "https://files.pythonhosted.org/packages/59/3a/e5211e39dca8fcd912d6d920f1fa531186efa09d67f2e12817fa5f424cc1/afvalwijzer-0.2.7.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "60629a279b5eb02516332fe96c9b948c",
"sha256": "6c9c7f99d93eeb1bf44023c9a1f0d1c18b05abd72dca2ded409f85c088cf7d59"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.7-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "60629a279b5eb02516332fe96c9b948c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7406,
"upload_time": "2018-01-01T17:36:53",
"url": "https://files.pythonhosted.org/packages/12/d4/c9cdeb7954e52538723252e29b5614ae090e085de631942c1c7eb975bbe7/afvalwijzer-0.2.7-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "9d948233bc9a9fcd7062ed203793582f",
"sha256": "a57a5cd86a4935f0a8811da4313095847031b7b786827fa9d92057e8b8084e31"
},
"downloads": -1,
"filename": "afvalwijzer-0.2.7.tar.gz",
"has_sig": false,
"md5_digest": "9d948233bc9a9fcd7062ed203793582f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5521,
"upload_time": "2018-01-01T17:36:55",
"url": "https://files.pythonhosted.org/packages/59/3a/e5211e39dca8fcd912d6d920f1fa531186efa09d67f2e12817fa5f424cc1/afvalwijzer-0.2.7.tar.gz"
}
]
}