{ "info": { "author": "Martijn Jacobs", "author_email": "martijn@devopsconsulting.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries" ], "description": "================\nPostNL Locations\n================\nA Python wrapper for using the PostNL locations SOAP API. You can find the source code\nhere: `python-postnl-locations`_.\n\n.. _`python-postnl-locations`: https://github.com/maerteijn/python-postnl-locations\n\n.. image:: https://travis-ci.org/maerteijn/python-postnl-locations.svg?branch=master\n :target: https://travis-ci.org/maerteijn/python-postnl-locations\n\n.. image:: http://codecov.io/github/maerteijn/python-postnl-locations/coverage.svg?branch=master\n :alt: Coverage\n :target: http://codecov.io/github/maerteijn/python-postnl-locations/\n\n\nCompatibility\n=============\n\nThis package is depending on ``suds-jurko`` , a fully compatible version of the original \npackage with some bug fixes and speed improvements, and has support for python3 as well. \nSo this package depends on it (``suds-py3`` still has some compatibility issues).\n\n\nUsage\n=====\n\nTo use this package follow these steps:\n\n1. Install this python package someway. (``pip install postnl-locations``)\n\n2. In your project, create a settings dictionary with at least the following parameters:\n\n.. code-block:: python\n\n MY_SETTINGS = {\n # this is the testservice wsdl, see the PostNL documentation for the production settings\n 'wsdl': \"https://testservice.postnl.com/CIF_SB/LocationWebService/2_0/?wsdl\",\n 'countrycode': 'NL',\n 'username': \"my-username\",\n # the password is SHA1 hashed\n 'password': \"my-sha1-hashed-password\",\n }\n\n3. Use the client as following:\n\n.. code-block:: python\n\n from postnl.locations.client import Locations\n \n locations = Locations(settings=MY_SETTINGS)\n my_locations = locations.nearest_locations(postalcode=\"6821AD\")\n\n\nTake a look at the `settings.py`_ for more options (you can adjust the results with a custom resultstransform claass for example).\n\n.. _`settings.py`: https://github.com/maerteijn/python-postnl-locations/blob/master/postnl/locations/settings.py", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/maerteijn/python-postnl-locations", "keywords": "postnl locations pickuppoints", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "postnl-locations", "package_url": "https://pypi.org/project/postnl-locations/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/postnl-locations/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/maerteijn/python-postnl-locations" }, "release_url": "https://pypi.org/project/postnl-locations/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "A Python wrapper for using the PostNL locations SOAP API", "version": "0.2.0" }, "last_serial": 2009681, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "5db5c80cb28d367e3123a82f29225052", "sha256": "574a9fda0b61e27a0daa520a6cd8775d7c6731f257041270969fc96a6b585680" }, "downloads": -1, "filename": "postnl-locations-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5db5c80cb28d367e3123a82f29225052", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6127, "upload_time": "2016-03-01T21:08:26", "url": "https://files.pythonhosted.org/packages/06/e8/1520ae2d346126cb00151677ef6f0b3403ef6021266d069acd8402f70115/postnl-locations-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "99e52b26332d0e597864948e18e717d2", "sha256": "0ce40b60c25662c3c39a56a9207a8a672ea1eb076ef23ef3071bfcbaa7c5be07" }, "downloads": -1, "filename": "postnl-locations-0.1.2.tar.gz", "has_sig": false, "md5_digest": "99e52b26332d0e597864948e18e717d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6138, "upload_time": "2016-03-04T12:46:23", "url": "https://files.pythonhosted.org/packages/8d/9e/22c22bcb0167a8382fd5838ca75bdc584c5285b3ec90d496887167afdc5a/postnl-locations-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5a0a0616f66b8c1350265ced9364b9f8", "sha256": "58d37bb23bda74a8f8bf5cc894a1987d2bd2272c6ac2a3d8f71af83f7d795c4f" }, "downloads": -1, "filename": "postnl-locations-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5a0a0616f66b8c1350265ced9364b9f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6965, "upload_time": "2016-03-16T09:07:50", "url": "https://files.pythonhosted.org/packages/9a/b3/c8fcd81e0955cba4b11304f78376c96f626e9b5d2defb1f73c6c5f18c909/postnl-locations-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5a0a0616f66b8c1350265ced9364b9f8", "sha256": "58d37bb23bda74a8f8bf5cc894a1987d2bd2272c6ac2a3d8f71af83f7d795c4f" }, "downloads": -1, "filename": "postnl-locations-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5a0a0616f66b8c1350265ced9364b9f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6965, "upload_time": "2016-03-16T09:07:50", "url": "https://files.pythonhosted.org/packages/9a/b3/c8fcd81e0955cba4b11304f78376c96f626e9b5d2defb1f73c6c5f18c909/postnl-locations-0.2.0.tar.gz" } ] }