{ "info": { "author": "Eric Wang", "author_email": "gnawrice@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console :: Curses", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "pybart\n======\n\n.. image:: https://img.shields.io/pypi/v/pybart.svg\n :target: https://pypi.python.org/pypi/pybart\n :alt: Version\n.. image:: https://img.shields.io/pypi/pyversions/pybart.svg\n :target: http://py3readiness.org/\n :alt: Python versions\n.. image:: https://img.shields.io/pypi/wheel/pybart.svg\n :target: http://pythonwheels.com/\n :alt: Wheel status\n.. image:: https://img.shields.io/pypi/l/pybart.svg\n :target: https://opensource.org/licenses/BSD-3-Clause\n :alt: License\n\nReal time BART (`Bay Area Rapid Transit `_) information\nin your terminal!\n\n.. image:: https://raw.githubusercontent.com/ericdwang/pybart/master/screenshot.png\n :alt: Screenshot\n\nFeatures\n--------\n\n- Real time estimates and service advisories\n- `Curses-based `_\n TUI with auto-refreshing and resizing\n- View multiple stations at the same time\n- Colors indicating transit lines, estimate times, and train lengths\n- Ability to configure a default set of stations\n- Other non-TUI commands like opening a map and getting the fare for a trip\n- Includes a low-level Python wrapper for the full BART API\n- No dependencies; built with only standard libraries\n\nRequirements\n------------\n\n- Python 2.6+ or Python 3.0+ with the ``curses`` module installed (i.e. not\n Windows)\n- Terminal with 256 color support to correctly display the Richmond-Fremont\n line as orange (magenta otherwise)\n\n - Note: this usually involves setting the ``TERM`` environment variable to\n ``xterm-256color``\n\nInstallation\n------------\n\n``pip install pybart``\n\nUsage\n-----\n\n::\n\n usage: bart [-h] [-v] {map,list,est,fare} ...\n\n Display real time BART estimates.\n\n optional arguments:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n\n commands:\n {map,list,est,fare}\n map open station map in web browser\n list show list of stations and their abbreviations\n est display estimates for specified stations\n fare show fare for a trip between two stations\n\n examples:\n bart get estimates for $BART_STATIONS\n bart map open station map\n bart list list all stations\n bart est mcar get estimates for MacArthur station\n bart est embr cols get estimates for Embarcadero and Coliseum stations\n bart fare conc sfia get fare for a trip between Concord and SFO stations\n\nConfiguration\n-------------\n\nThe following (optional) environment variables can be used to configure pybart:\n\n- ``BART_STATIONS`` - a comma-separated string (e.g. ``mcar,embr,cols``)\n specifying the default stations to use when running ``bart`` with no\n arguments.\n- ``BART_API_KEY`` - the BART API key to use when fetching information. A\n public one is used by default, but you can get your own\n `here `_.\n\nAPI\n---\n\nEven though it doesn't use everything, pybart includes a low-level Python\nwrapper for the full\n`BART API `_ with\n``pybart.api.BART``. Every call by default returns the root element of the XML\nresponse using\n`ElementTree `_.\nJSON is also supported but the format is currently in\n`beta `_.\n\nExample usage::\n\n >>> from pybart.api import BART\n >>> bart = BART() # Uses the public API key by default\n >>> root = bart.stn.stninfo('dbrk')\n >>> station = root.find('stations').find('station')\n >>> print(station.find('address').text + ', ' + station.find('city').text)\n 2160 Shattuck Avenue, Berkeley\n >>> print(bart.version().find('apiVersion').text)\n 3.10\n >>> bart = BART(json_format=True) # Now with JSON\n >>> root = bart.stn.stninfo('dbrk')\n >>> station = root['stations']['station']\n >>> print(station['address'] + ', ' + station['city'])\n 2160 Shattuck Avenue, Berkeley\n\nLicense\n-------\n\n`BSD 3-Clause `_\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ericdwang/pybart", "keywords": "bart,bay,area,rapid,transit", "license": "BSD 3-Clause", "maintainer": "", "maintainer_email": "", "name": "pybart", "package_url": "https://pypi.org/project/pybart/", "platform": "", "project_url": "https://pypi.org/project/pybart/", "project_urls": { "Homepage": "https://github.com/ericdwang/pybart" }, "release_url": "https://pypi.org/project/pybart/1.5.1/", "requires_dist": null, "requires_python": "", "summary": "Real time BART (Bay Area Rapid Transit) information in your terminal!", "version": "1.5.1" }, "last_serial": 3097282, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "47a794deff7e8398ce367655d88004d3", "sha256": "83c451ab597b64cad423dbb46dea28ab299559b206a32dcb9a9a40c583adefbd" }, "downloads": -1, "filename": "pybart-1.0.0.tar.gz", "has_sig": false, "md5_digest": "47a794deff7e8398ce367655d88004d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4817, "upload_time": "2015-12-14T03:15:09", "url": "https://files.pythonhosted.org/packages/68/fe/3a48097dc186d583b8e6576ad66113aa6d45becdd72612654ed370996101/pybart-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9c1ca63cca26a1c8b40333117a72ec68", "sha256": "a5123f0f744a552368b88dd90fffe038ac848abb46f59c2b7d33aa130aee0934" }, "downloads": -1, "filename": "pybart-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9c1ca63cca26a1c8b40333117a72ec68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4864, "upload_time": "2015-12-15T07:59:32", "url": "https://files.pythonhosted.org/packages/10/f5/f25dc4281fdcd8b36089e460162d5c4912e4e0b4485da2e06f4576666fc7/pybart-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ac5e1e503dd1f211927d6c4d0e65cfbf", "sha256": "59a2db49b5b2dfb9af882a7e4f16372774bb211a84c76edadedd4b09948eae46" }, "downloads": -1, "filename": "pybart-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ac5e1e503dd1f211927d6c4d0e65cfbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4869, "upload_time": "2015-12-24T01:51:24", "url": "https://files.pythonhosted.org/packages/6a/4f/7318e4296ef9d1a25061292d659dafd0e0b85c7144625829213da67965fc/pybart-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "18727eafbf0d2e28a5de93907c4e2735", "sha256": "05d5e1ec06ab489ac873e3c463c379caf8d665db8b56856e9ea30a83e1680b7c" }, "downloads": -1, "filename": "pybart-1.1.0.tar.gz", "has_sig": false, "md5_digest": "18727eafbf0d2e28a5de93907c4e2735", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4953, "upload_time": "2015-12-25T04:25:21", "url": "https://files.pythonhosted.org/packages/75/02/fd99a480aa5eb485fa263b4d7e5328a2b4ec39c7a66def29b5cb9901a97d/pybart-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "aff2310f37121bedcf57a09bae3ebb6b", "sha256": "02e42eabe3757088cfa8e7f26dd861b6f2df8dbcdec51082e7612c2f5a92310b" }, "downloads": -1, "filename": "pybart-1.2.0.tar.gz", "has_sig": false, "md5_digest": "aff2310f37121bedcf57a09bae3ebb6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5114, "upload_time": "2016-01-30T06:10:51", "url": "https://files.pythonhosted.org/packages/ae/17/3671f1bcc94cfcb7c546c68fb62d145b166f1b6a91d760c39a81aee7c69d/pybart-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6421d294a5ef1bd21eb1cbd11cbb959a", "sha256": "10caaf49a6758bbfce2c6ffec8e476b217e3ef922ae55808d47edf51b9cf2a99" }, "downloads": -1, "filename": "pybart-1.2.1.tar.gz", "has_sig": false, "md5_digest": "6421d294a5ef1bd21eb1cbd11cbb959a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5259, "upload_time": "2016-03-19T19:21:22", "url": "https://files.pythonhosted.org/packages/d0/68/c8b181764f16b668e6f67443b004a835a6aa5ed994c4af5c5847ac631756/pybart-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "fcc60c2c84537e67995b0a4e3f0ba229", "sha256": "6617cdc4b81fd9c327a86887507c68ad69f5527f83f939c8833e0d5b7748ac72" }, "downloads": -1, "filename": "pybart-1.2.2.tar.gz", "has_sig": false, "md5_digest": "fcc60c2c84537e67995b0a4e3f0ba229", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6450, "upload_time": "2017-07-26T06:45:21", "url": "https://files.pythonhosted.org/packages/d4/4b/f9730d24df362b2d058ad6b2bbaf84fbcadc22e74aac5b6b37d45d078461/pybart-1.2.2.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "c27226cdd7eb39f87a030b9bdf1cc5e9", "sha256": "bf9f0d294e3e11e049d0d33e011e83441accd40e744b97ed5644f29b55b1ac14" }, "downloads": -1, "filename": "pybart-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c27226cdd7eb39f87a030b9bdf1cc5e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6460, "upload_time": "2016-05-22T03:59:56", "url": "https://files.pythonhosted.org/packages/73/a8/82f4832f7eb214779648d42e6ad03e0855e79eb65d6a419f4fdbea5806f2/pybart-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "2d4271ea19aaf13ce9842f519899c77b", "sha256": "f68504f012261cca11b2515201db5592a1640c81af08c5af396d2c336624b7a2" }, "downloads": -1, "filename": "pybart-1.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d4271ea19aaf13ce9842f519899c77b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9924, "upload_time": "2017-05-17T06:39:06", "url": "https://files.pythonhosted.org/packages/95/d4/5299199eb92cbe71083b7868ce42116931b82267911cfc5cb4ecb7355047/pybart-1.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b2b09d6fc2e2d53f67ad0d5e50257578", "sha256": "a1b9ecfff0301cac5a057d9d8685e3d91dc404c92b58145833263ea58b523f80" }, "downloads": -1, "filename": "pybart-1.3.1.tar.gz", "has_sig": false, "md5_digest": "b2b09d6fc2e2d53f67ad0d5e50257578", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6484, "upload_time": "2017-05-30T06:41:00", "url": "https://files.pythonhosted.org/packages/5f/a3/945e365eae9db47196dd5584297c136242743329b2ca8509b6e8917f2b20/pybart-1.3.1.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "868833f68fa90c84c5e42391bd0beefe", "sha256": "f4d64ce51aaf86b35021d8489bb217c5d0b5cfa2727440c677e0d86d36c6c032" }, "downloads": -1, "filename": "pybart-1.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "868833f68fa90c84c5e42391bd0beefe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11690, "upload_time": "2017-05-30T06:16:41", "url": "https://files.pythonhosted.org/packages/50/59/a70e1b44925b2b096508c9c4e746cdee1ffd82d84e5b371ab800929929a0/pybart-1.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf541857ca7cdf866931b0f7341899cb", "sha256": "46b80db323e3972782660a73d968c3693c6a80ea8a920ff9fbec326f34d51bba" }, "downloads": -1, "filename": "pybart-1.4.0.tar.gz", "has_sig": false, "md5_digest": "cf541857ca7cdf866931b0f7341899cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7893, "upload_time": "2017-05-30T06:37:46", "url": "https://files.pythonhosted.org/packages/21/f4/9481eebf79d976e86bd7770c67589cf746814c5a759b73815583ca5d3190/pybart-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "74cc9c4df6a8160918d361fef22e6444", "sha256": "1146644e4ff3f7502670e08570ecb570b0419684323846623c5472aa91356393" }, "downloads": -1, "filename": "pybart-1.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "74cc9c4df6a8160918d361fef22e6444", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12659, "upload_time": "2017-07-26T06:45:20", "url": "https://files.pythonhosted.org/packages/70/72/ed58dfbbb6ffec94a5ca9acf414fab457f205695dd267f09f0bfbcc1e082/pybart-1.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f91a74667d170fc4a0a4a3cbf926b335", "sha256": "7db0c879422282697dc1f44eacfdf3becafd191f1791631e615ce4076cc86e85" }, "downloads": -1, "filename": "pybart-1.5.0.tar.gz", "has_sig": false, "md5_digest": "f91a74667d170fc4a0a4a3cbf926b335", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8501, "upload_time": "2017-07-26T06:45:22", "url": "https://files.pythonhosted.org/packages/30/00/cecb7954d3b9294881dec53c9d3357b016d61038ca0b1c38a214c9c09355/pybart-1.5.0.tar.gz" } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "a5779a5a5a340bc9e0e31ba349b22d27", "sha256": "7be6d84d023e6f2e690767a1b8c1a46789086cae916395567064b56f02eb3a94" }, "downloads": -1, "filename": "pybart-1.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5779a5a5a340bc9e0e31ba349b22d27", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13139, "upload_time": "2017-08-15T06:52:29", "url": "https://files.pythonhosted.org/packages/fd/34/39ba1ff6ce03699a9ac2a1e9a9a3d4d36969e92ebb283b68c3674f51b9d4/pybart-1.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2458490bb13a726cacfdfaee63401c8f", "sha256": "bd2654977cfcdc31d1958029afdfb3f769b8ec4f6152f2dbb506be73422139c1" }, "downloads": -1, "filename": "pybart-1.5.1.tar.gz", "has_sig": false, "md5_digest": "2458490bb13a726cacfdfaee63401c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8940, "upload_time": "2017-08-15T06:52:30", "url": "https://files.pythonhosted.org/packages/11/b5/f3288318971b8815875473e5e7a440a8a90505fbf4df8a6a555719d0a0a0/pybart-1.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5779a5a5a340bc9e0e31ba349b22d27", "sha256": "7be6d84d023e6f2e690767a1b8c1a46789086cae916395567064b56f02eb3a94" }, "downloads": -1, "filename": "pybart-1.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5779a5a5a340bc9e0e31ba349b22d27", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13139, "upload_time": "2017-08-15T06:52:29", "url": "https://files.pythonhosted.org/packages/fd/34/39ba1ff6ce03699a9ac2a1e9a9a3d4d36969e92ebb283b68c3674f51b9d4/pybart-1.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2458490bb13a726cacfdfaee63401c8f", "sha256": "bd2654977cfcdc31d1958029afdfb3f769b8ec4f6152f2dbb506be73422139c1" }, "downloads": -1, "filename": "pybart-1.5.1.tar.gz", "has_sig": false, "md5_digest": "2458490bb13a726cacfdfaee63401c8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8940, "upload_time": "2017-08-15T06:52:30", "url": "https://files.pythonhosted.org/packages/11/b5/f3288318971b8815875473e5e7a440a8a90505fbf4df8a6a555719d0a0a0/pybart-1.5.1.tar.gz" } ] }