{ "info": { "author": "Elia Bieri", "author_email": "bieri.elia@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Internet" ], "description": "\u26a1\ufe0f\ud83d\udeb2 pypublibike - A python wrapper round the PubliBike API\n===============================\n\n![Upload Python Package](https://github.com/eliabieri/pypublibike/workflows/Upload%20Python%20Package/badge.svg)\n\n[![PyPI version](https://badge.fury.io/py/pypublibike.svg)](https://badge.fury.io/py/pypublibike)\n\n[![DeepSource](https://static.deepsource.io/deepsource-badge-light-mini.svg)](https://deepsource.io/gh/eliabieri/pypublibike/?ref=repository-badge)\n\npypublibike makes it easy to access the PubliBike API in your own Python projects.\n\nQuick Start\n-----------\n $ pip install pypublibike\n\nExamples\n-----------\n\nGetting a list of all PubliBike stations\n\n```python\nfrom pypublibike import publibike, station\n\npb = publibike.PubliBike()\nfor station in pb.getStations():\n\tstation.refresh() \t\t# refresh load data of station\n\tebike = station.ebikes[0] \t# access the bikes/ebikes of the station\n\tebike.batteryLevel \t\t# access information about a bike\n```\n\nFinding the nearest PubliBike station\n\n```python\nfrom pypublibike import publibike, location\n\npb = publibike.PubliBike()\nourLocation = location.Location(latitude=46.950043, longitude=7.443169)\n\nnearestStation = pb.findNearestStationTo(ourLocation)\n\nnearestStation.refresh()\nprint(nearestStation.name)\n```\n\n\nGetting Help\n------------\n\n* Open a issue on GitHub if you run into any problems\n\n* Contact me on [Twitter](https://twitter.com/eliabieri)\n\nTodo\n------------\n\n * API documentation\n * Error handling\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/eliabieri/pypublibike", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pypublibike", "package_url": "https://pypi.org/project/pypublibike/", "platform": "", "project_url": "https://pypi.org/project/pypublibike/", "project_urls": { "Homepage": "https://github.com/eliabieri/pypublibike" }, "release_url": "https://pypi.org/project/pypublibike/3.0.1/", "requires_dist": [ "requests", "haversine" ], "requires_python": ">=3.7", "summary": "A python wrapper around the PubliBike API", "version": "3.0.1", "yanked": false, "yanked_reason": null }, "last_serial": 11423363, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ba9e41cc6414733af6113d38f8233f87", "sha256": "74cecca0b7234eafd3cb923a814264129873b815b06a26a971fb6ed897888c31" }, "downloads": -1, "filename": "pypublibike-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ba9e41cc6414733af6113d38f8233f87", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 3952, "upload_time": "2019-10-25T15:57:15", "upload_time_iso_8601": "2019-10-25T15:57:15.691268Z", "url": "https://files.pythonhosted.org/packages/0e/35/2b8b50cdaab6041191e8895eca031cbaa610113c5d91fe5d0fe1e921cfac/pypublibike-1.0.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "e8faddaae39c3e0931a1f67b432c03b8", "sha256": "57a273748448c262dd220de64acd9aecff3a8c3977997003e5d0cbefd772bdb2" }, "downloads": -1, "filename": "pypublibike-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e8faddaae39c3e0931a1f67b432c03b8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 4468, "upload_time": "2019-10-25T15:57:18", "upload_time_iso_8601": "2019-10-25T15:57:18.022352Z", "url": "https://files.pythonhosted.org/packages/1f/42/254fc31f193a8d8e281e9bc19a386a86db9531fa5ca59ad8e3861f00037d/pypublibike-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5377ec21be34a6d1da6fbdcfdee7771e", "sha256": "b75ed2cea48c7fa7f2665eb3b840494a222f2f39239f9ea9476340d9af871b7b" }, "downloads": -1, "filename": "pypublibike-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5377ec21be34a6d1da6fbdcfdee7771e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 4072, "upload_time": "2019-10-25T17:28:07", "upload_time_iso_8601": "2019-10-25T17:28:07.858447Z", "url": "https://files.pythonhosted.org/packages/df/96/d63f873792456d2a5f44e33acfdd3ce87cca9e0b2e9412d922661c156f90/pypublibike-1.1.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "6ed98343029e5f62740d0c8b1019c93c", "sha256": "ccafad5bae79574e4b777e3b6b4657c9d919b932a08c3da5f3469d741c34eaee" }, "downloads": -1, "filename": "pypublibike-1.1.0.tar.gz", "has_sig": false, "md5_digest": "6ed98343029e5f62740d0c8b1019c93c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 4594, "upload_time": "2019-10-25T17:28:09", "upload_time_iso_8601": "2019-10-25T17:28:09.091704Z", "url": "https://files.pythonhosted.org/packages/9c/e1/2b0b881be7c4e56c6b54f7f66e2c875b493f3c4a1c081c26c15be8c9d3e2/pypublibike-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "aa619a073841d167abf0b322250b8ee8", "sha256": "55175d5e2f4d22151e4cd3dcc3143f356c7e065d555d7147211b86e0833dccc5" }, "downloads": -1, "filename": "pypublibike-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aa619a073841d167abf0b322250b8ee8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 4856, "upload_time": "2019-12-06T17:03:47", "upload_time_iso_8601": "2019-12-06T17:03:47.248935Z", "url": "https://files.pythonhosted.org/packages/86/8d/ef549ed8a6923093a599e887b2a52921dd0acd91c75f6692084ec053ea93/pypublibike-1.2.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "43a4dad803ca0bd0fd7d996fc1d9ee53", "sha256": "11100a182a5f984d3f986e8c2d7fa12bda9fc238ce2755211e62733fda67510b" }, "downloads": -1, "filename": "pypublibike-1.2.0.tar.gz", "has_sig": false, "md5_digest": "43a4dad803ca0bd0fd7d996fc1d9ee53", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 5077, "upload_time": "2019-12-06T17:03:48", "upload_time_iso_8601": "2019-12-06T17:03:48.706784Z", "url": "https://files.pythonhosted.org/packages/61/fc/e00b3fbf742f19ad8d37bdea489212c02dc3fe06320550f22e0ba9dad39c/pypublibike-1.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6e434c0a9ad50683a6ba0ac1b5baa8a5", "sha256": "ba0f2880f198f0cdf53559f7f7223b4267bff04ca8dbcf2f1cc97469ce17a98e" }, "downloads": -1, "filename": "pypublibike-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e434c0a9ad50683a6ba0ac1b5baa8a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 4865, "upload_time": "2019-12-06T17:36:27", "upload_time_iso_8601": "2019-12-06T17:36:27.649723Z", "url": "https://files.pythonhosted.org/packages/82/db/3ce0255c499a6d9ab065544e276214dd2892c5c320d941811d67304a53da/pypublibike-1.2.1-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ed38d30248f86fba195e5d593184da98", "sha256": "1d0102facb47b47a94102743429a082cc9b3f1f4a3a7334b238df2c08029dcc3" }, "downloads": -1, "filename": "pypublibike-1.2.1.tar.gz", "has_sig": false, "md5_digest": "ed38d30248f86fba195e5d593184da98", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 5095, "upload_time": "2019-12-06T17:36:29", "upload_time_iso_8601": "2019-12-06T17:36:29.280650Z", "url": "https://files.pythonhosted.org/packages/dc/50/9ef1b2bf490a018d73fd38e2bd7708675abe56da9a26e3eb9a315c3a5283/pypublibike-1.2.1.tar.gz", "yanked": false, "yanked_reason": null } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "c6302c4610fcdc223f17ea8fd5cd2157", "sha256": "8950545aaafd96521e558aba590d24853507bc028532bdaa519a2d103aba944b" }, "downloads": -1, "filename": "pypublibike-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c6302c4610fcdc223f17ea8fd5cd2157", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 5626, "upload_time": "2020-02-15T00:33:01", "upload_time_iso_8601": "2020-02-15T00:33:01.448553Z", "url": "https://files.pythonhosted.org/packages/09/22/d996e6810fffa5600f5dc372525332d8a8006c166170f9751c60c87aa8e2/pypublibike-2.0.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "39f82c67862934c5fb921a3c288d0429", "sha256": "a17db18abc756f6b44609c54760be0e9679a0370ae6099ea5530ff05d41c551f" }, "downloads": -1, "filename": "pypublibike-2.0.0.tar.gz", "has_sig": false, "md5_digest": "39f82c67862934c5fb921a3c288d0429", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 5446, "upload_time": "2020-02-15T00:33:03", "upload_time_iso_8601": "2020-02-15T00:33:03.127852Z", "url": "https://files.pythonhosted.org/packages/01/11/42d3ad603817cb1387009b4de918973012f5db08af6a34de2bad7a97478f/pypublibike-2.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "2a9bf299ae2e46134a0184b0c3b862a1", "sha256": "054a5655ba717214608a23aabc744788e40ca27450cbc9386541da933e61ab16" }, "downloads": -1, "filename": "pypublibike-2.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2a9bf299ae2e46134a0184b0c3b862a1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 5637, "upload_time": "2020-02-16T11:27:52", "upload_time_iso_8601": "2020-02-16T11:27:52.389335Z", "url": "https://files.pythonhosted.org/packages/52/1b/e844f87da38111034b7d3dae6046ccdf0dd271bb775da8510f39172304b5/pypublibike-2.0.1-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "8314de7ab8385b62e518173cb790887b", "sha256": "ee4be8ade269b341631c99e4485f86f25119d1fbbed6ef538898557468491d5a" }, "downloads": -1, "filename": "pypublibike-2.0.1.tar.gz", "has_sig": false, "md5_digest": "8314de7ab8385b62e518173cb790887b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 5455, "upload_time": "2020-02-16T11:27:54", "upload_time_iso_8601": "2020-02-16T11:27:54.165810Z", "url": "https://files.pythonhosted.org/packages/d7/9c/56e7e2844d43be6ebb2ffd6101039d56ecd3b2bc58cf2bd75797e304bc81/pypublibike-2.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "4f5663d5f8ec250c1463628e40ebe809", "sha256": "f03316dbeee6f2bb1fff9281d6acfccec06be4855e0a8c9f4742be5414c85386" }, "downloads": -1, "filename": "pypublibike-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4f5663d5f8ec250c1463628e40ebe809", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 5814, "upload_time": "2020-02-23T08:50:35", "upload_time_iso_8601": "2020-02-23T08:50:35.847234Z", "url": "https://files.pythonhosted.org/packages/a4/e7/b4d7cf507c6dbcacfb54c06e17463031be7fd42bc67f634b26c9b18e6723/pypublibike-2.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ffb6c7c0d41ebfb65ba7a165c763713f", "sha256": "b4e07daa14ddd861246c9bf83342cd05f33987cd77b5b544f70b5086ddee5b6c" }, "downloads": -1, "filename": "pypublibike-2.1.0.tar.gz", "has_sig": false, "md5_digest": "ffb6c7c0d41ebfb65ba7a165c763713f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 4402, "upload_time": "2020-02-23T08:50:37", "upload_time_iso_8601": "2020-02-23T08:50:37.098268Z", "url": "https://files.pythonhosted.org/packages/42/c4/fdedc2ada75dd451b01d8d7cab549210a71a1b8560877d83c1ce896c827b/pypublibike-2.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "6a5204ff963514c475ab9f105f6b0d49", "sha256": "c2cde010f69b942115063b83eb4e3ee71a3bd8d360dd86e0d80fbe43f70fcfc1" }, "downloads": -1, "filename": "pypublibike-3.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6a5204ff963514c475ab9f105f6b0d49", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 5957, "upload_time": "2021-09-11T10:00:14", "upload_time_iso_8601": "2021-09-11T10:00:14.045748Z", "url": "https://files.pythonhosted.org/packages/b2/56/1f23d57abfa94775c57190226f1a5603753d591574ee01e926785185a612/pypublibike-3.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "53312d49fd617ee703fdebe08cf60e6e", "sha256": "e35230f741469d867827f11ee88ec4880ad8eb8aa6c79993be7ad3e0712bde8f" }, "downloads": -1, "filename": "pypublibike-3.0.0.tar.gz", "has_sig": false, "md5_digest": "53312d49fd617ee703fdebe08cf60e6e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5581, "upload_time": "2021-09-11T10:00:15", "upload_time_iso_8601": "2021-09-11T10:00:15.642228Z", "url": "https://files.pythonhosted.org/packages/16/61/97326adbd764f26eac478b8bc4c9a15bee2d609fd5c880e277d3d73e6eff/pypublibike-3.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "fecb8e293592d1cabc04dfb35abfe01a", "sha256": "b8daf367508359bbca073369d770ac18bf8bf490e32826e897bf4665d625c3a3" }, "downloads": -1, "filename": "pypublibike-3.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fecb8e293592d1cabc04dfb35abfe01a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 5965, "upload_time": "2021-09-11T10:04:02", "upload_time_iso_8601": "2021-09-11T10:04:02.050346Z", "url": "https://files.pythonhosted.org/packages/01/28/f98802afc2b80545d93443238d5350c7d2489957371534523f00ca51ec0e/pypublibike-3.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ec1b12ba75239367dfc93c9e71c47429", "sha256": "310dbc72dbebe6c28fc9b9d40d6fdc52e8f7e9feca466b89c1898139593ec296" }, "downloads": -1, "filename": "pypublibike-3.0.1.tar.gz", "has_sig": false, "md5_digest": "ec1b12ba75239367dfc93c9e71c47429", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5584, "upload_time": "2021-09-11T10:04:03", "upload_time_iso_8601": "2021-09-11T10:04:03.750504Z", "url": "https://files.pythonhosted.org/packages/30/9e/7c39b9aa684db6134521e213d3e8b059faa5f94893c4cc58728bd83e5e1e/pypublibike-3.0.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fecb8e293592d1cabc04dfb35abfe01a", "sha256": "b8daf367508359bbca073369d770ac18bf8bf490e32826e897bf4665d625c3a3" }, "downloads": -1, "filename": "pypublibike-3.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fecb8e293592d1cabc04dfb35abfe01a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 5965, "upload_time": "2021-09-11T10:04:02", "upload_time_iso_8601": "2021-09-11T10:04:02.050346Z", "url": "https://files.pythonhosted.org/packages/01/28/f98802afc2b80545d93443238d5350c7d2489957371534523f00ca51ec0e/pypublibike-3.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ec1b12ba75239367dfc93c9e71c47429", "sha256": "310dbc72dbebe6c28fc9b9d40d6fdc52e8f7e9feca466b89c1898139593ec296" }, "downloads": -1, "filename": "pypublibike-3.0.1.tar.gz", "has_sig": false, "md5_digest": "ec1b12ba75239367dfc93c9e71c47429", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 5584, "upload_time": "2021-09-11T10:04:03", "upload_time_iso_8601": "2021-09-11T10:04:03.750504Z", "url": "https://files.pythonhosted.org/packages/30/9e/7c39b9aa684db6134521e213d3e8b059faa5f94893c4cc58728bd83e5e1e/pypublibike-3.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }