{ "info": { "author": "Adrien Pavie & Jungle Bus", "author_email": "panieravide@riseup.net", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Scientific/Engineering :: GIS", "Topic :: Software Development :: Libraries" ], "description": "# Transport Hours (Python version)\n\n## Read-me\n\nTransportHours is a Python (2.7+) library for easy reading/writing of [public transport hours](https://wiki.openstreetmap.org/wiki/Key:interval) present in OpenStreetMap. It interprets string values from OSM tags, and also converts your objects into string values to go back into OSM.\n\n\n## Install\n\n### From pip\n\nJust run the following command in your development environment :\n\n```bash\npip install transporthours\n```\n\n### Using this repository\n\nDownload this repository, then embed the library into your own project :\n\n```python\nfrom transporthours.main import Main\n```\n\n\n## Usage\n\nAn example of usage is available in [example.py](example.py) file.\n\nFor more details about available functions, see [API documentation](API.md).\n\n\n## Build & develop\n\nFor start developing on this library, run the following commands :\n\n```bash\n# Prepare python 2.7 environment\nvirtualenv env -p /usr/bin/python2.7\nsource ./env/bin/activate\n\n# Install dependencies\nmake deps\n\n# Run unit tests\nmake test\n\n# Generate documentation\nmake docs\n\n\n# Following commands are optional, but can be useful sometimes\n\n# Run a single unit test\npython tests/test_main.py MainTest.test_name_of_the_test\n```\n\n### Publish on PyPI\n\n```bash\n# Put your credentials in .pypirc (only first time you want to publish)\nvim ~/.pypirc\n\n# Install Twine (only first time you want to publish\npip install twine\n\n# Be sure to have updated package version number\nvim setup.py\n\n# Build archives\npython setup.py sdist bdist_wheel\n\n# Check builds\ntwine check dist/*\n\n# Test upload on TestPyPI\ntwine upload dist/* -r testpypi\n\n# Real upload on PyPI\ntwine upload dist/* -r pypi\n```\n\n\n## License\n\nCopyright 2019 Jungle Bus & [Adrien PAVIE](https://pavie.info/)\n\nSee [LICENSE](LICENSE) for complete LGPL3 license.\n\nTransportHoursPython is free software: you can redistribute it and/or modify\nit under the terms of the GNU Lesser General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nTransportHoursPython is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with TransportHoursPython. If not, see .\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/Jungle-Bus/transport-hours-py", "keywords": "", "license": "GNU LGPLv3", "maintainer": "", "maintainer_email": "", "name": "transporthours", "package_url": "https://pypi.org/project/transporthours/", "platform": "", "project_url": "https://pypi.org/project/transporthours/", "project_urls": { "Homepage": "https://github.com/Jungle-Bus/transport-hours-py" }, "release_url": "https://pypi.org/project/transporthours/0.0.2/", "requires_dist": null, "requires_python": ">=2.7", "summary": "Package for handling public transport routes opening hours from OpenStreetMap", "version": "0.0.2" }, "last_serial": 5840494, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d58a0e5192e51e77ff78c423bc8ee39b", "sha256": "817192d44cf6f69ca245c0462c3132bba5ae25584df03966e4135d8bbdbd2f4e" }, "downloads": -1, "filename": "transporthours-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "d58a0e5192e51e77ff78c423bc8ee39b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 16873, "upload_time": "2019-09-11T12:21:03", "url": "https://files.pythonhosted.org/packages/26/c4/096dc1c61a47fc2610fff33fa8948f48050f1e3ce4170c4396abb3ff468f/transporthours-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9646d46592f51c7948ed94e722d4d219", "sha256": "6b2c95db48875f16529c066f72c235a89d912cfe1522eab155e9c7381e9cf0b9" }, "downloads": -1, "filename": "transporthours-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9646d46592f51c7948ed94e722d4d219", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 16380, "upload_time": "2019-09-11T12:21:06", "url": "https://files.pythonhosted.org/packages/ad/5d/7c6372da74b577c1bff00086f26abd3eeff4f00bda00cb10cbc29dcfe892/transporthours-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "17b8395a03fb067cff7b081a6776d198", "sha256": "1b1b19be7b39331b7ac9744b2cea9f0d5149fb412942e7ed69d0de169855b95d" }, "downloads": -1, "filename": "transporthours-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "17b8395a03fb067cff7b081a6776d198", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 16871, "upload_time": "2019-09-17T09:15:29", "url": "https://files.pythonhosted.org/packages/e8/88/8a36a662ac0f37b193c3e05032b665621cfacb0c603cd1070eb9537fc555/transporthours-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b4a305adf60c973c9f4dac341d71078", "sha256": "461b41ff9ac91798d059ff54fc400c60577ba4bf2f2e29cef27dda33b70c3e41" }, "downloads": -1, "filename": "transporthours-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4b4a305adf60c973c9f4dac341d71078", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 16390, "upload_time": "2019-09-17T09:15:30", "url": "https://files.pythonhosted.org/packages/e4/1a/711c68edba05b6924126773f5c433e90f57d6a61a6c154d3d3c2786aa716/transporthours-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "17b8395a03fb067cff7b081a6776d198", "sha256": "1b1b19be7b39331b7ac9744b2cea9f0d5149fb412942e7ed69d0de169855b95d" }, "downloads": -1, "filename": "transporthours-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "17b8395a03fb067cff7b081a6776d198", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": ">=2.7", "size": 16871, "upload_time": "2019-09-17T09:15:29", "url": "https://files.pythonhosted.org/packages/e8/88/8a36a662ac0f37b193c3e05032b665621cfacb0c603cd1070eb9537fc555/transporthours-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b4a305adf60c973c9f4dac341d71078", "sha256": "461b41ff9ac91798d059ff54fc400c60577ba4bf2f2e29cef27dda33b70c3e41" }, "downloads": -1, "filename": "transporthours-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4b4a305adf60c973c9f4dac341d71078", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 16390, "upload_time": "2019-09-17T09:15:30", "url": "https://files.pythonhosted.org/packages/e4/1a/711c68edba05b6924126773f5c433e90f57d6a61a6c154d3d3c2786aa716/transporthours-0.0.2.tar.gz" } ] }