{ "info": { "author": "Patrick Carey", "author_email": "paddy@wackwack.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "===============================\nniaopendata\n===============================\n\n.. image:: https://img.shields.io/pypi/v/niaopendata.svg?style=flat\n :target: https://pypi.python.org/pypi/niaopendata/\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/travis/paddycarey/niaopendata/master.png?style=flat\n :target: https://travis-ci.org/paddycarey/niaopendata\n :alt: Travis CI build status\n\nniaopendata is a Python client library for accessing the `Northern Ireland Assembly Open Data API `_. niaopendata has a full test suite and aims to have 100% coverage of the API. Tests exist both to ensure that the library is working as expected, and also that the library complies with and fully implements the API specification.\n\nniaopendata supports Python 2.6, 2.7, PyPy, 3.3 and 3.4 (and probably later versions too, but I haven't tested on those).\n\n* Free software: MIT license\n* Documentation: https://github.com/paddycarey/niaopendata\n\n\n\nInstallation\n------------\n\nDistribute & Pip\n~~~~~~~~~~~~~~~~\n\nInstalling niaopendata is simple with `pip `_::\n\n $ pip install niaopendata\n\nor, with `easy_install `_::\n\n $ easy_install niaopendata\n\nBut, you really `shouldn't do that `_.\n\n\nGet the Code\n~~~~~~~~~~~~\n\nniaopendata is actively developed on GitHub, where the code is `always available `_.\n\nYou can either clone the public repository::\n\n $ git clone git://github.com/paddycarey/niaopendata.git\n\nOr download the `tarball `_::\n\n $ curl -OL https://github.com/paddycarey/niaopendata/tarball/master\n\nOnce you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily::\n\n $ python setup.py install\n\n\n\nUsage\n-----\n\nniaopendata aims to provide a simple, pythonic interface to Northern Ireland Assembly Open Data API. It has been designed to be easy to use, and aims to provide full coverage of the API with a consistent interface.\n\nFirst you'll need to import niaopendata.::\n\n import niaopendata\n\n\nRetrieving data from the API\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAs an example of what is possible, it is easy to retrieve a list of all members.::\n\n >>> niaopendata.all_current_members()\n [\n OrderedDict([\n (u'PersonId', u'307'),\n (u'AffiliationId', u'2482'),\n (u'MemberName', u'Agnew, Steven'),\n (u'MemberLastName', u'Agnew'),\n (u'MemberFirstName', u'Steven'),\n (u'MemberFullDisplayName', u'Mr S Agnew'),\n (u'MemberSortName', u'AgnewSteven'),\n (u'MemberTitle', u'MLA - North Down'),\n (u'PartyName', u'Green Party'),\n (u'PartyOrganisationId', u'111'),\n (u'ConstituencyName', u'North Down'),\n (u'ConstituencyId', u'11'),\n (u'MemberImgUrl', u'http://aims.niassembly.gov.uk/images/mla/307_s.jpg'),\n (u'MemberPrefix', u'Mr')\n ]),\n ...\n ]\n\n >>> len(niaopendata.all_current_members())\n 107\n\n\nFull API documentation\n~~~~~~~~~~~~~~~~~~~~~~\n\nFull documentation is a work in progress, but the code itself should be easy to follow. All public functions are explicitly imported in ``__init__.py`` and all functions have appropriate docstrings.\n\n\nTesting\n-------\n\nniaopendata has a full test suite. Assuming you have a full source checkout of the niaopendata repository, running the tests is simple with ``tox``::\n\n $ pip install tox\n $ tox\n\nIt is recommended that you use a virtualenv when developing or running the tests to ensure that system libraries do not interfere with the tests.\n\n**TIP:** If you're using Ubuntu, you can find older/newer versions of python than the one shipped with your distribution `here `_. You can install as many as you like side by side without affecting your default python install.\n\n\nCopyright & License\n-------------------\n\n| Copyright \u00a9 2015 Patrick Carey (https://github.com/paddycarey)\n| Licensed under the **MIT** license.", "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/paddycarey/niaopendata", "keywords": "NI Northern Ireland Assembly Open Data", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "niaopendata", "package_url": "https://pypi.org/project/niaopendata/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/niaopendata/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/paddycarey/niaopendata" }, "release_url": "https://pypi.org/project/niaopendata/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "niaopendata is a Python client for the Northern Ireland Assembly Open Data API", "version": "0.0.1" }, "last_serial": 1670500, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "49c9619348aa95c416561884052c60e0", "sha256": "5dd9138bf7a779dab76ddd5e6339966e103cfa9ac5bfa0611f019896aa84e5e1" }, "downloads": -1, "filename": "niaopendata-0.0.1.tar.gz", "has_sig": false, "md5_digest": "49c9619348aa95c416561884052c60e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6292, "upload_time": "2015-08-09T19:38:38", "url": "https://files.pythonhosted.org/packages/2b/34/86b44abfcebc55eeddd4acba4f92276775c768a81a865eaa99ce609445a6/niaopendata-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "49c9619348aa95c416561884052c60e0", "sha256": "5dd9138bf7a779dab76ddd5e6339966e103cfa9ac5bfa0611f019896aa84e5e1" }, "downloads": -1, "filename": "niaopendata-0.0.1.tar.gz", "has_sig": false, "md5_digest": "49c9619348aa95c416561884052c60e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6292, "upload_time": "2015-08-09T19:38:38", "url": "https://files.pythonhosted.org/packages/2b/34/86b44abfcebc55eeddd4acba4f92276775c768a81a865eaa99ce609445a6/niaopendata-0.0.1.tar.gz" } ] }