{ "info": { "author": "Chris Down", "author_email": "chris@chrisdown.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: Public Domain", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "Given ATCO codes, shows the next bus times at given stops.\n\nThis is particularly useful bound to a keybinding and passed to\nlibnotify\u2019s ``notify-send`` program, so you can quickly get an overview\nof the next buses at stops you care about.\n\nYou must set ``WTB_APP_ID`` and ``WTB_APP_KEY`` to an app ID and app key\nvalid at `TransportAPI`_.\n\nUsage\n=====\n\nPass ATCO codes with ``-a``. See below for how to find them.\n\n::\n\n % WTB_APP_ID=xxx WTB_APP_KEY=xxx wtb -a 490004733D -a 4100008HAYRS\n Canada Water Bus Station (Stop D) (490004733D):\n - 199 to Canada Water: Due, 11 min, 25 min\n - C10 to Canada Water: 3 min, 9 min, 19 min\n - 1 to Canada Water: 8 min, 20 min\n - P12 to Surrey Quays: 11 min, 20 min\n - 225 to Canada Water: 13 min\n - LO-M to Canada Water: 23 min\n\n Haymarket Bus Station (R) (4100008HAYRS):\n - 44 to Dinnington: 4 min, 34 min, 1 hr 4 min\n - 43 to Cramlington Manor Walks Dudley Lane: 11 min, 41 min\n - 45 to Dinnington: 19 min, 49 min, 1 hr 19 min\n - 43 to Morpeth Bus Station: 26 min\n\nHow do I find ATCO codes?\n=========================\n\n- For London bus stops, it\u2019s in the URI. For example, in `this URI`_,\n \u201c490004733D\u201d is the ATCO code.\n- For non-London, try the following:\n\n 1. Navigate to the bus stop on OpenStreetMap\n 2. On the right, click \u201clayers\u201d\n 3. Tick \u201cmap data\u201d\n 4. Click on the bus stop on the map\n 5. On the left, you should see the ATCO code (possibly as something\n like ``naptan:AtcoCode``)\n\n.. _TransportAPI: https://www.transportapi.com/\n.. _this URI: https://tfl.gov.uk/bus/stop/490004733D/canada-water-bus-station\n\nInstallation\n============\n\nTo install the latest stable version from PyPi:\n\n.. code::\n\n $ pip install -U whensthebus\n\nTo install the latest development version directly from GitHub:\n\n.. code::\n\n $ pip install -U git+https://github.com/cdown/whensthebus.git@develop", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cdown/whensthebus", "keywords": "transport uk bus", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "whensthebus", "package_url": "https://pypi.org/project/whensthebus/", "platform": "", "project_url": "https://pypi.org/project/whensthebus/", "project_urls": { "Homepage": "https://github.com/cdown/whensthebus" }, "release_url": "https://pypi.org/project/whensthebus/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Get live UK bus times on stdout", "version": "1.0.0" }, "last_serial": 4643952, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "f5ed8a4c426ca95114fab8065581da13", "sha256": "61e171e255177ebb700da7db49ba1eb1bbaa2b48d8be1bfa0ea51f1b24bb6014" }, "downloads": -1, "filename": "whensthebus-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f5ed8a4c426ca95114fab8065581da13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3792, "upload_time": "2018-12-29T12:40:38", "url": "https://files.pythonhosted.org/packages/9e/52/55e386a59efcecc52a952c74ec4fa011d987a611af6032632720c825fa67/whensthebus-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f5ed8a4c426ca95114fab8065581da13", "sha256": "61e171e255177ebb700da7db49ba1eb1bbaa2b48d8be1bfa0ea51f1b24bb6014" }, "downloads": -1, "filename": "whensthebus-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f5ed8a4c426ca95114fab8065581da13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3792, "upload_time": "2018-12-29T12:40:38", "url": "https://files.pythonhosted.org/packages/9e/52/55e386a59efcecc52a952c74ec4fa011d987a611af6032632720c825fa67/whensthebus-1.0.0.tar.gz" } ] }