{ "info": { "author": "Niall Grant", "author_email": "ngfgrant@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![CircleCI](https://circleci.com/gh/ngfgrant/tides/tree/master.svg?style=svg&circle-token=a701bb98360276f425d52b21d6d0803e27e7fb78)](https://circleci.com/gh/ngfgrant/tides/tree/master) [![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=coverage)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=coverage) [![Sonarcloud\nStatus](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=ncloc)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=ncloc) [![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=sqale_rating)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=sqale_rating)\n[![Sonarcloud\nStatus](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=reliability_rating)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=reliability_rating)\n[![Sonarcloud\nStatus](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=security_rating)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=security_rating)\n[![Sonarcloud\nStatus](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=sqale_index)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=sqale_index)\n[![Sonarcloud\nStatus](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=vulnerabilities)](https://sonarcloud.io/api/project_badges/measure?project=ngfgrant_tides&metric=vulnerabilities)\n\n# Tides\n\nThis module acts as a wrapper around the Tidal Data providers such as Admiralty\n(UK Tide provider).\n\n# Usage\n\nUsing tides is pretty straightforward. You will need to have your\nTideProvider's (currently on only Admiralty is implemented) access token set as\nan environment variable named `TIDE_KEY`.\n\n```python\ntides = Tides('admiralty')\ntides.provider.get_tides(station=\"Leith\")\n```\n\nThe TideProvdier interface defines the following methods:\n\n```python\ndef get_all_stations():\n\ndef get_station_by_id():\n\ndef get_station_by_name():\n\ndef get_tides():\n\ndef next_tide():\n\ndef time_to_next_tide():\n```\n\n# Install\n\n```shell\n$pip install tides\n```\n\n# Contributing\n\nSee the [Contributing Guide](CONTRIBUTING.md)\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/ngfgrant/tides", "keywords": "tides,api-wrapper", "license": "Apache2", "maintainer": "", "maintainer_email": "", "name": "tides", "package_url": "https://pypi.org/project/tides/", "platform": "", "project_url": "https://pypi.org/project/tides/", "project_urls": { "Homepage": "https://github.com/ngfgrant/tides" }, "release_url": "https://pypi.org/project/tides/0.1.0/", "requires_dist": null, "requires_python": ">=3", "summary": "A wrapper for the tides API", "version": "0.1.0", "yanked": false, "yanked_reason": null }, "last_serial": 6038150, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "62718d9f7054b9b2f5b4a515b528b0ec", "sha256": "efbf217985a0de210875b71059888126582ce127e72f77137459f0e97bdbc166" }, "downloads": -1, "filename": "tides-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "62718d9f7054b9b2f5b4a515b528b0ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 4562, "upload_time": "2019-10-27T19:33:05", "upload_time_iso_8601": "2019-10-27T19:33:05.356514Z", "url": "https://files.pythonhosted.org/packages/63/89/d910d7ef0a78661c68f5a4f32f886f4f649a85abc4ad0d0336d1afdbc4dc/tides-0.1.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "a5e23762f41974921ca15f800612b574", "sha256": "279d98531eb8ea4a462323dcb710a4166aa227f0a4fe4c65723ec06ef8e76eb9" }, "downloads": -1, "filename": "tides-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a5e23762f41974921ca15f800612b574", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3798, "upload_time": "2019-10-27T19:33:07", "upload_time_iso_8601": "2019-10-27T19:33:07.866475Z", "url": "https://files.pythonhosted.org/packages/f5/c2/8d35016b95f7c46d2e321f053bcd8b200c3e42660108900e2a58e844cd7f/tides-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62718d9f7054b9b2f5b4a515b528b0ec", "sha256": "efbf217985a0de210875b71059888126582ce127e72f77137459f0e97bdbc166" }, "downloads": -1, "filename": "tides-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "62718d9f7054b9b2f5b4a515b528b0ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3", "size": 4562, "upload_time": "2019-10-27T19:33:05", "upload_time_iso_8601": "2019-10-27T19:33:05.356514Z", "url": "https://files.pythonhosted.org/packages/63/89/d910d7ef0a78661c68f5a4f32f886f4f649a85abc4ad0d0336d1afdbc4dc/tides-0.1.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "a5e23762f41974921ca15f800612b574", "sha256": "279d98531eb8ea4a462323dcb710a4166aa227f0a4fe4c65723ec06ef8e76eb9" }, "downloads": -1, "filename": "tides-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a5e23762f41974921ca15f800612b574", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3798, "upload_time": "2019-10-27T19:33:07", "upload_time_iso_8601": "2019-10-27T19:33:07.866475Z", "url": "https://files.pythonhosted.org/packages/f5/c2/8d35016b95f7c46d2e321f053bcd8b200c3e42660108900e2a58e844cd7f/tides-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }