{ "info": { "author": "Devoli", "author_email": "dev@devoli.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Australian IPND (Integrated Public Number Database) Client\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n\n\nThis is a python 3 port of [xrobau/ipnd](https://github.com/xrobau/ipnd)\n\nMany thanks to this author!~\n\nLicenced under the AGPLv3.\n\nYou can install this module via pip:\n\n\n```\npip install au-ipnd\n```\n\n\nExample Code\n\n```\n\nfrom ipnd import record, IPND\n\nperson = record.Person()\nperson.set_name(\"Herp L. Derpinson\", \"Mr\")\nperson.set_contactnum(\"0402000000\")\n\nbusiness = record.Business()\nbusiness.set_name(\"Extremely Long Name Pty Ltd, Trading as Stupidly Long Name Incorporated\")\nbusiness.set_contactnum(\"0402000000\")\n\naddress = record.HouseAddress()\naddress.set_street_number(\"1\")\naddress.set_street_name(\"FAKE\", \"ST\")\naddress.set_locality(\"0200\", \"ANU\", \"ACT\")\n\n# This is the File Sequence Number\ni = IPND(source=\"XXXXX\", seq=2)\n\nnums = ((\"0749700000\", person), (\"0749700001\", business))\n\nfor num, entity in nums:\n t = record.Transaction()\n\n t.add_entry(record.CSPCode(\"999\"))\n t.add_entry(record.DPCode(\"YYYYYY\"))\n\n t.add_entry(record.PublicNumber(num))\n t.add_entry(record.UsageCode(entity))\n t.add_entry(record.ServiceStatusCode(\"C\"))\n t.add_entry(record.PendingFlag(\"N\"))\n t.add_entry(record.CancelPendingFlag(\"N\"))\n t.add_entry(record.CustomerName(entity))\n t.add_entry(record.FindingName(entity))\n t.add_entry(record.ServiceAddress(address))\n t.add_entry(record.DirectoryAddress(address))\n\n t.add_entry(record.ListCode(\"UL\"))\n t.add_entry(record.CustomerContact(entity))\n\n i.add_transaction(t)\n\noutput = i.generate_to_string()\n\nprint(output)\n\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Divoli/ipnd", "keywords": "", "license": "AGPL 3", "maintainer": "", "maintainer_email": "", "name": "au-ipnd", "package_url": "https://pypi.org/project/au-ipnd/", "platform": "", "project_url": "https://pypi.org/project/au-ipnd/", "project_urls": { "Homepage": "https://github.com/Divoli/ipnd" }, "release_url": "https://pypi.org/project/au-ipnd/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Australian IPND Client", "version": "0.0.2" }, "last_serial": 5294600, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "375787e41a90334ba95f4a66dc5873d8", "sha256": "937af00b6e927e4976580f3959434988782f18797ea6b4fe1c997dd1263cddb1" }, "downloads": -1, "filename": "au_ipnd-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "375787e41a90334ba95f4a66dc5873d8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6327, "upload_time": "2019-05-20T22:07:25", "url": "https://files.pythonhosted.org/packages/16/76/1fb6235f47c5ea9c5926e4fe1c2618af94d7371d4ca5ab33ed1e14401feb/au_ipnd-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b68e000dda586dc2db0becb02690ec7", "sha256": "a544d8b65c879085bceb37d4df7f74c1ad797be2b357b1d1bbc051869df4a7f3" }, "downloads": -1, "filename": "au-ipnd-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2b68e000dda586dc2db0becb02690ec7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5645, "upload_time": "2019-05-20T22:07:28", "url": "https://files.pythonhosted.org/packages/3a/76/913758c3834058ad46728ce77d9422465e5264dace932616a6ee0c0253b7/au-ipnd-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a54b6b7a48a66dabfd1deda8f1d88254", "sha256": "aa8f76faf260850edc526a96d456e93f71a434655205b08a3f98e6882277de3e" }, "downloads": -1, "filename": "au_ipnd-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a54b6b7a48a66dabfd1deda8f1d88254", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7222, "upload_time": "2019-05-20T23:17:55", "url": "https://files.pythonhosted.org/packages/6c/62/d91ec5b9e53a529548f4f08a6b3419a5c5ea4b37bb85f8fb0ddbe81155a7/au_ipnd-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aaafc54e43d777167c46ab228e3a60c6", "sha256": "dc1fa12407447d253299c1f3c177c5ddca3152f118dbc46110e537cc5686e100" }, "downloads": -1, "filename": "au-ipnd-0.0.2.tar.gz", "has_sig": false, "md5_digest": "aaafc54e43d777167c46ab228e3a60c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6590, "upload_time": "2019-05-20T23:17:57", "url": "https://files.pythonhosted.org/packages/f7/21/de7e944dc68b135d191027f60d4c2570b25318245af93ce8c01bbe6ba9e3/au-ipnd-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a54b6b7a48a66dabfd1deda8f1d88254", "sha256": "aa8f76faf260850edc526a96d456e93f71a434655205b08a3f98e6882277de3e" }, "downloads": -1, "filename": "au_ipnd-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a54b6b7a48a66dabfd1deda8f1d88254", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7222, "upload_time": "2019-05-20T23:17:55", "url": "https://files.pythonhosted.org/packages/6c/62/d91ec5b9e53a529548f4f08a6b3419a5c5ea4b37bb85f8fb0ddbe81155a7/au_ipnd-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aaafc54e43d777167c46ab228e3a60c6", "sha256": "dc1fa12407447d253299c1f3c177c5ddca3152f118dbc46110e537cc5686e100" }, "downloads": -1, "filename": "au-ipnd-0.0.2.tar.gz", "has_sig": false, "md5_digest": "aaafc54e43d777167c46ab228e3a60c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6590, "upload_time": "2019-05-20T23:17:57", "url": "https://files.pythonhosted.org/packages/f7/21/de7e944dc68b135d191027f60d4c2570b25318245af93ce8c01bbe6ba9e3/au-ipnd-0.0.2.tar.gz" } ] }