{ "info": { "author": "Andrew MacDonald", "author_email": "andrew@maccas.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Kiwis Pie\n===============\nPython library for querying WISKI via KiWIS (KISTERS Web Interoperability Solution). See: http://www.kisters.net/NA/products/wiski/options/web-services/\n\n.. image:: https://raw.githubusercontent.com/amacd31/kiwis_pie/master/kiwis_and_pie.jpg\n\nDependencies\n------------\nRequires the Python libraries requests, pandas and tabulate.\n\nInstallation\n------------\n\nInstall from PyPI:\n\n::\n\n pip install kiwis-pie\n\nor install directly from github:\n\n::\n\n pip install git+https://github.com/amacd31/kiwis_pie.git\n\nUsage\n-----\nExample fetching some data from the KiWIS service that backs: http://kna.kisters.net/sjr/kiwidgets/tests/SanJoaquinRiver/\n\n::\n\n from datetime import date\n from kiwis_pie import KIWIS\n k = KIWIS('http://kna.kisters.net/grassland/KiWIS')\n\n # Get station ID for 'SAN JOAQUIN RIVER NEAR PATTERSON'\n station_id = k.get_station_list(station_name = 'SAN JOAQUIN RIVER NEAR PATTERSON').station_id.values[0]\n\n # Get timeseries ID for 3-Hourly streamflow (Q) at SAN JOAQUIN RIVER NEAR PATTERSON\n ts_id = k.get_timeseries_list(station_id = station_id, parametertype_name = 'Q', ts_name = '3-Hourly').ts_id.values[0]\n\n # Read one day of 3-Hourly flow data for SAN JOAQUIN RIVER NEAR PATTERSON\n k.get_timeseries_values(ts_id = ts_id, to = date(2016,1,1), **{'from': date(2016,1,1)})\n\nExample using the KiWIS service that backs the Australian Bureau of Meteorology's Water Data Online service: http://www.bom.gov.au/waterdata/\n\n::\n\n from datetime import date\n from kiwis_pie import KIWIS\n k = KIWIS('http://www.bom.gov.au/waterdata/services')\n\n # Get station ID for 'Cotter River at Gingera'\n station_id = k.get_station_list(station_name = 'Cotter R. at Gingera').station_id.values[0]\n\n # Get timeseries ID for daily mean streamflow (Q) at Cotter River at Gingera\n ts_id = k.get_timeseries_list(station_id = station_id, ts_name = 'DMQaQc.Merged.DailyMean.24HR', parametertype_name = 'Water Course Discharge').ts_id.values[0]\n\n # Read 31 days of daily water course discharge data for Cotter River at Gingera\n k.get_timeseries_values(ts_id = ts_id, to = date(2016,1,31), **{'from': date(2016,1,1)})\n\n # Optionally use the `keep_tz` option to return in local timezone instead of UTC\n k.get_timeseries_values(ts_id = ts_id, to = date(2016,1,31), **{'from': date(2016,1,1)}, keep_tz=True)\n\nDocumentation\n-------------\nThe methods on the KIWIS class all have docstrings detailing the keyword arguments they take.\nRendered documentation is available on Read the Docs: http://kiwis-pie.readthedocs.io/en/latest/", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/amacd31/kiwis_pie", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "kiwis-pie", "package_url": "https://pypi.org/project/kiwis-pie/", "platform": "", "project_url": "https://pypi.org/project/kiwis-pie/", "project_urls": { "Homepage": "https://github.com/amacd31/kiwis_pie" }, "release_url": "https://pypi.org/project/kiwis-pie/0.10.0/", "requires_dist": null, "requires_python": "", "summary": "Python library for accessing a Kisters WISKI system via the KiWIS API.", "version": "0.10.0" }, "last_serial": 4308291, "releases": { "0.10.0": [ { "comment_text": "", "digests": { "md5": "6bd88f58327a257a33a13e82c6170ff9", "sha256": "f7021b0adc4e80b2fc63a090b1624994958e0d7ff7234f1211fd787b6c201f6e" }, "downloads": -1, "filename": "kiwis-pie-0.10.0.tar.gz", "has_sig": false, "md5_digest": "6bd88f58327a257a33a13e82c6170ff9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 75453, "upload_time": "2018-09-25T12:01:23", "url": "https://files.pythonhosted.org/packages/ce/0a/a37c98782f09074788c5e6e67a82874587036a22f6fc41707d825128b7cb/kiwis-pie-0.10.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "6c7014d9fa6eaa81846957ed7cddd788", "sha256": "f1ebfa9c47ca2b9c7c874fd11b1ea9ff23d81c3f27cfc65dfe5faf6b241538d1" }, "downloads": -1, "filename": "kiwis-pie-0.8.0.tar.gz", "has_sig": false, "md5_digest": "6c7014d9fa6eaa81846957ed7cddd788", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 74929, "upload_time": "2018-02-07T01:13:49", "url": "https://files.pythonhosted.org/packages/22/ed/bc8e2cdee3eb63273289f1575ef0dfcf3bc74076d1cf0fb61782d0ecbc6f/kiwis-pie-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "129f0e5c5c88ab9cfb7ee6d88b9ca97c", "sha256": "1a90be64607c74ef31410832719bed14c70765e623149f7f0fb5955abecdc88b" }, "downloads": -1, "filename": "kiwis-pie-0.9.0.tar.gz", "has_sig": false, "md5_digest": "129f0e5c5c88ab9cfb7ee6d88b9ca97c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 75211, "upload_time": "2018-04-30T23:02:19", "url": "https://files.pythonhosted.org/packages/1f/64/37505f08f6b95df4f53f3268dbb8b6ed6922ec535aedbc06cb2d6691401e/kiwis-pie-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6bd88f58327a257a33a13e82c6170ff9", "sha256": "f7021b0adc4e80b2fc63a090b1624994958e0d7ff7234f1211fd787b6c201f6e" }, "downloads": -1, "filename": "kiwis-pie-0.10.0.tar.gz", "has_sig": false, "md5_digest": "6bd88f58327a257a33a13e82c6170ff9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 75453, "upload_time": "2018-09-25T12:01:23", "url": "https://files.pythonhosted.org/packages/ce/0a/a37c98782f09074788c5e6e67a82874587036a22f6fc41707d825128b7cb/kiwis-pie-0.10.0.tar.gz" } ] }