{ "info": { "author": "Jose Ignacio Galarza", "author_email": "igalarzab@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "pyrenfe\r\n=======\r\n\r\nWhat it does.\r\n-------------\r\n\r\nThis script helps you to know when there is a train (Renfe, Spain) next\r\nto leave the configured station. Also, you can query the timetable of an\r\nspecific route.\r\n\r\nNothing more, nothing less... :D\r\n\r\nWhat I need.\r\n------------\r\n\r\nTo use ``pyrenfe``, you only need:\r\n\r\n- python >= 2.7\r\n- requests (python module)\r\n- lxml (python module)\r\n\r\nHow to install it.\r\n------------------\r\n\r\nThe package is uploaded to PyPI, so you just have to install the package\r\nwith ``pip`` or ``easy_install``.\r\n\r\n.. code:: sh\r\n\r\n $ sudo pip install pyrenfe\r\n\r\nHow to use\r\n----------\r\n\r\nTo run it, you only need to execute the program with the proper\r\nparameters. Here you have some examples:\r\n\r\nSee the help of the program.\r\n\r\n.. code:: sh\r\n\r\n $ pyrenfe --help\r\n\r\nCheck the next train between Atocha and Principe Pio (when it will leave\r\nand when will it arrive).\r\n\r\n.. code:: sh\r\n\r\n $ pyrenfe --origin 18000 --destine 10000\r\n\r\nShow the same information, but inside a formatted table.\r\n\r\n.. code:: sh\r\n\r\n $ pyrenfe -o 18000 -d 10000 -p table\r\n\r\nCheck the timetable of all the trains between Atocha and Principe Pio\r\nfor today.\r\n\r\n.. code:: sh\r\n\r\n $ pyrenfe --origin 18000 --destine 10000 --timetable\r\n\r\nAs you can see the origin and the destine are provided with numbers.\r\nThose numbers are the IDs of the stations. To take the IDs of your\r\nchoice you have to fill the `official form`_ and then check in the POST\r\nwhich values are provided.\r\n\r\nIn the future I hope to add this functionality to the script (pull\r\nrequests are accepted :D).\r\n\r\nAuthor\r\n======\r\n\r\n- `Jose Ignacio Galarza (igalarzab)`_\r\n\r\n.. _official form: http://www.renfe.com/viajeros/cercanias/madrid/index.html\r\n.. _Jose Ignacio Galarza (igalarzab): http://github.com/igalarzab", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/igalarzab/pyrenfe", "keywords": "timetable,train,cercanias,renfe,spain", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyrenfe", "package_url": "https://pypi.org/project/pyrenfe/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyrenfe/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/igalarzab/pyrenfe" }, "release_url": "https://pypi.org/project/pyrenfe/1.0/", "requires_dist": null, "requires_python": null, "summary": "Train timetable checker (Renfe Cercanias, Spain)", "version": "1.0" }, "last_serial": 749101, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "5626cc0d5e7167292debbeee7b55212e", "sha256": "44111c769781a61ab670daaee1d1e7fef4a361b36ab7f1292853722b9be9bce9" }, "downloads": -1, "filename": "pyrenfe-1.0.tar.gz", "has_sig": false, "md5_digest": "5626cc0d5e7167292debbeee7b55212e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4843, "upload_time": "2013-06-01T12:31:08", "url": "https://files.pythonhosted.org/packages/de/b3/43ae2bcb3319b70e833ae1d0245f701dcf30e0b761b889a8a14fcd8efc24/pyrenfe-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5626cc0d5e7167292debbeee7b55212e", "sha256": "44111c769781a61ab670daaee1d1e7fef4a361b36ab7f1292853722b9be9bce9" }, "downloads": -1, "filename": "pyrenfe-1.0.tar.gz", "has_sig": false, "md5_digest": "5626cc0d5e7167292debbeee7b55212e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4843, "upload_time": "2013-06-01T12:31:08", "url": "https://files.pythonhosted.org/packages/de/b3/43ae2bcb3319b70e833ae1d0245f701dcf30e0b761b889a8a14fcd8efc24/pyrenfe-1.0.tar.gz" } ] }