{ "info": { "author": "Anton Korobkov", "author_email": "korobq@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Opengovpy\n=========\n\nopengovpy is a simple Python wrapper around `Moscow open data api `_\n\nIt works as follows: you create a class instance of ``api``,\nthen call it with parameters::\n\n from opengovpy import api\n\n # You may specify your api key when instantiating this\n # like this using ``key`` argument: example = api(key='yourapikey')\n example = api()\n\n # To get dataset list (http://api.data.mos.ru/Docs#datasetsList):\n dataset_list = example()\n\n # To ged dataset passport (http://api.data.mos.ru/Docs#datasetPassport)\n dataset_passport = example(id=658)\n\n # To get dataset rows (http://api.data.mos.ru/Docs#datasetRows)\n dataset_rows = example(id=658, rows=True)\n\n # To count number of rows in a dataset ()\n dataset_rows = example(id=658, count=True)\n\n # To get geodata (http://api.data.mos.ru/Docs#datasetFeatures):\n dataset_features = example(id=1786, features=True)\n\n # It is also possible to specify coords to look up:\n dataset_features = example(id=1786, features=True,\n bbox=[37.49711036682129, 55.86543869723485, 37.5490379333496, 55.89110103788533])\n\n # You may specify OData parameters supported by api (http://api.data.mos.ru/Docs#OData)\n # like this:\n dataset = example(id=658, rows=True, top=3, orderby='Number')\n dataset = example(skip=10, inlinecount=True, top=5)\n\nThe returned value is always a python object (deserialized json, with accordance to `this table `_).\nThis package works with Python 2.7+\n\n============\nInstallation\n============\n\nYou can install opengovpy via pip:\n\n.. code:: shell\n\n $ pip install opengovpy\n\n\n", "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/AntonKorobkov/opengovpy", "keywords": "api opendata", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "opengovpy", "package_url": "https://pypi.org/project/opengovpy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/opengovpy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/AntonKorobkov/opengovpy" }, "release_url": "https://pypi.org/project/opengovpy/0.11/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper around http://api.data.mos.ru/", "version": "0.11" }, "last_serial": 2273887, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2308ab68267b9c16d73faca866a49224", "sha256": "1a1baf642fda940b6bb6e32dfc508368d8bc4d47f6c6be6f5552aab444b0f6fb" }, "downloads": -1, "filename": "opengovpy-0.1.tar.gz", "has_sig": false, "md5_digest": "2308ab68267b9c16d73faca866a49224", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1988, "upload_time": "2016-08-09T21:35:20", "url": "https://files.pythonhosted.org/packages/43/6a/4a9d82a2cfb003fbcdfd7a5eafe877f80a3b7b923fcde32b0b13fb1b54a6/opengovpy-0.1.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "8746adcfd1c5e3f68230f6c3680d78ce", "sha256": "1d59c506ae34d4456a7892fdcdb5993115289623eb1df00630a62810a6d14f00" }, "downloads": -1, "filename": "opengovpy-0.11.tar.gz", "has_sig": false, "md5_digest": "8746adcfd1c5e3f68230f6c3680d78ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2625, "upload_time": "2016-08-10T14:17:26", "url": "https://files.pythonhosted.org/packages/37/68/e5c16115321a3fb81a84208f8998c452dabf9b0f38836c92f76e8438c5e7/opengovpy-0.11.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8746adcfd1c5e3f68230f6c3680d78ce", "sha256": "1d59c506ae34d4456a7892fdcdb5993115289623eb1df00630a62810a6d14f00" }, "downloads": -1, "filename": "opengovpy-0.11.tar.gz", "has_sig": false, "md5_digest": "8746adcfd1c5e3f68230f6c3680d78ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2625, "upload_time": "2016-08-10T14:17:26", "url": "https://files.pythonhosted.org/packages/37/68/e5c16115321a3fb81a84208f8998c452dabf9b0f38836c92f76e8438c5e7/opengovpy-0.11.tar.gz" } ] }