{ "info": { "author": "Matthew Owen", "author_email": "matthew.owen95@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "===========\nBus Scraper\n===========\n\nBus Scraper allows you to scrape bus times and information from ACIS powered bus time sites (like the Oxfordshire, South Yorkshire, Bristol, and Kent ones). If they change the markup of their pages, it might break.\n\n #!/usr/bin/env python\n\n import busscraper\n\n busscraper.stop(\"37035419\", \"tsy\")\n [{'minutes_to_departure': 0, 'destination': u'Rotherham ', 'service': u'220 '}, {'minutes_to_departure': 30, 'destination': u'Doncaster ', 'service': u'222 '}, {'minutes_to_departure': 30, 'destination': u'Rotherham ', 'service': u'220 '}, {'minutes_to_departure': 0, 'destination': u'Rotherham ', 'service': u'229 '}]\n \n busscraper.postcode(\"s637tg\", \"tsy\")\n\t\t[{'distance': 107, 'stop_name': u'Pope Pius School', 'stop_id': u'37035419'}, {'distance': 168, 'stop_name': u'Pope Pius School', 'stop_id': u'37035385'}]\n\n\tbusscraper.service(\"2\", \"5\", \"Blackbird+Leys\", \"oxfordshire\", \"35\")\n\t\t[{'stop_name': u'Oxford Rail Stn R2', 'stop_id': u'69326565&pscode=5&dest=&textonly=1'}, {'stop_name': u'Frideswide Sq R7', 'stop_id': u'340002070R7&pscode=5&dest=&textonly=1'}, {'stop_name': u'New Road D1', 'stop_id': u'340000868D1&pscode=5&dest=&textonly=1'}, {'stop_name': u'Castle Street M1', 'stop_id': u'340000007M1&pscode=5&dest=&textonly=1'}, {'stop_name': u'Speedwell St S2', 'stop_id': u'340001989S2&pscode=5&dest=&textonly=1'}, {'stop_name': u\"St Aldate's G4\", 'stop_id': u'69326475&pscode=5&dest=&textonly=1'}, {'stop_name': u\"Queen's Lane K1\", 'stop_id': u'340001992K1&pscode=5&dest=&textonly=1'}, {'stop_name': u'The Plain', 'stop_id': u'340001126TYN&pscode=5&dest=&textonly=1'}, {'stop_name': u'James Street', 'stop_id': u'340001199PEM&pscode=5&dest=&textonly=1'}, {'stop_name': u'Manzil Way', 'stop_id': u'340001198OUT&pscode=5&dest=&textonly=1'}, {'stop_name': u'Magdalen Road', 'stop_id': u'340001195OPP&pscode=5&dest=&textonly=1'}, {'stop_name': u'Howard Street', 'stop_id': u'340001197CNR&pscode=5&dest=&textonly=1'}, {'stop_name': u'Shelley Road', 'stop_id': u'69323639&pscode=5&dest=&textonly=1'}, {'stop_name': u'Marsh Road', 'stop_id': u'340001200OPH&pscode=5&dest=&textonly=1'}, {'stop_name': u'Clive Road', 'stop_id': u'340001201OPP&pscode=5&dest=&textonly=1'}, {'stop_name': u'Original Swan PH', 'stop_id': u'340001257BTW&pscode=5&dest=&textonly=1'}, {'stop_name': u'Templars Square', 'stop_id': u'69324978&pscode=5&dest=&textonly=1'}, {'stop_name': u'Barns Road', 'stop_id': u'340001251OPB&pscode=5&dest=&textonly=1'}, {'stop_name': u'Kersington Crescent', 'stop_id': u'340001225CNR&pscode=5&dest=&textonly=1'}, {'stop_name': u'Sandy Lane West', 'stop_id': u'340001230ERB&pscode=5&dest=&textonly=1'}, {'stop_name': u'Sandy Lane', 'stop_id': u'69325292&pscode=5&dest=&textonly=1'}, {'stop_name': u'Wingate Close', 'stop_id': u'340001234CNR&pscode=5&dest=&textonly=1'}, {'stop_name': u'Longlands Road', 'stop_id': u'340001229CNR&pscode=5&dest=&textonly=1'}, {'stop_name': u'Pegasus Court', 'stop_id': u'69325284&pscode=5&dest=&textonly=1'}]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/BusScraper/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "BusScraper", "package_url": "https://pypi.org/project/BusScraper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/BusScraper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/BusScraper/" }, "release_url": "https://pypi.org/project/BusScraper/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Scraper for ACIS based bus time sites", "version": "0.2.2" }, "last_serial": 783892, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "70c7844805080a99ca7ec99bb4ae8dff", "sha256": "7590595c9b0d4d140e8bb3c57afd132cf65db66e3b007541f054a0a500de5f9f" }, "downloads": -1, "filename": "BusScraper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "70c7844805080a99ca7ec99bb4ae8dff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15272, "upload_time": "2011-10-18T22:45:31", "url": "https://files.pythonhosted.org/packages/51/cb/5d50253f9daa54ab2765c658abffa209d1cd07acf22bcc424b0ccfcc7ee2/BusScraper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "eda32f19f25b7d5c2c64a9781ee36215", "sha256": "41fd777cc07cef171bf6004abb68bf7e0344d4e6316ddb7b8dec6f8cee2c59e9" }, "downloads": -1, "filename": "BusScraper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "eda32f19f25b7d5c2c64a9781ee36215", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15302, "upload_time": "2011-10-18T23:05:43", "url": "https://files.pythonhosted.org/packages/62/44/7e17e3b4935787f7cefe71d4e2a67db2ee2909ad112a770da240cf308a9e/BusScraper-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b332ba3c22210912cd00898a8d7a427d", "sha256": "81dcee589ce47a685adf4e57b09f8c3b4ba1d8c1f1bff030fcbabca1ce1c970f" }, "downloads": -1, "filename": "BusScraper-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b332ba3c22210912cd00898a8d7a427d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15312, "upload_time": "2011-10-18T23:14:11", "url": "https://files.pythonhosted.org/packages/20/6d/17ce3756bb31a690f0c1903fc18094fda443f0e3ba7f1915d1e8ca03f3ed/BusScraper-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5b4cf8ae6db5d78056e7730c38988b6c", "sha256": "d12a9f0eca9de70ce002db77d71da08a30b8f18d88c2e6c20cf835ac067536a8" }, "downloads": -1, "filename": "BusScraper-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5b4cf8ae6db5d78056e7730c38988b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15334, "upload_time": "2011-11-16T22:17:26", "url": "https://files.pythonhosted.org/packages/25/c2/1de537248369a1686294106907c6406dd8f01821171090ec991e7365a271/BusScraper-0.1.3.tar.gz" } ], "0.2": [], "0.2.0": [], "0.2.1": [ { "comment_text": "", "digests": { "md5": "04a44fbe5f56f9825ffa08def4e7af5c", "sha256": "6c6f518aa02119a48d66985bbecfae9f721493c2cff515a8e8a9ad37e5e6c233" }, "downloads": -1, "filename": "BusScraper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "04a44fbe5f56f9825ffa08def4e7af5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15611, "upload_time": "2012-02-05T14:40:24", "url": "https://files.pythonhosted.org/packages/e2/7a/38f426b0c9f96f083f71969bdcf26adfb49825e56eb7b4e1dd08a70f5ec2/BusScraper-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "76c8c7dc9857c3ceec243b14a46beb6b", "sha256": "3113801ce6dd36a3ca9703d258e5efe99c2ef8c2b3ac0fbd357492511a715c29" }, "downloads": -1, "filename": "BusScraper-0.2.2.tar.gz", "has_sig": false, "md5_digest": "76c8c7dc9857c3ceec243b14a46beb6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15654, "upload_time": "2012-02-12T15:01:08", "url": "https://files.pythonhosted.org/packages/4f/76/230f6b916a4031a47f6292db559e7933dc1afb61d1d6783567951b5c4cfc/BusScraper-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "76c8c7dc9857c3ceec243b14a46beb6b", "sha256": "3113801ce6dd36a3ca9703d258e5efe99c2ef8c2b3ac0fbd357492511a715c29" }, "downloads": -1, "filename": "BusScraper-0.2.2.tar.gz", "has_sig": false, "md5_digest": "76c8c7dc9857c3ceec243b14a46beb6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15654, "upload_time": "2012-02-12T15:01:08", "url": "https://files.pythonhosted.org/packages/4f/76/230f6b916a4031a47f6292db559e7933dc1afb61d1d6783567951b5c4cfc/BusScraper-0.2.2.tar.gz" } ] }