This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

pyrenfe

What it does.

This script helps you to know when there is a train (Renfe, Spain) next to leave the configured station. Also, you can query the timetable of an specific route.

Nothing more, nothing less… :D

What I need.

To use pyrenfe, you only need:

  • python >= 2.7
  • requests (python module)
  • lxml (python module)

How to install it.

The package is uploaded to PyPI, so you just have to install the package with pip or easy_install.

$ sudo pip install pyrenfe

How to use

To run it, you only need to execute the program with the proper parameters. Here you have some examples:

See the help of the program.

$ pyrenfe --help

Check the next train between Atocha and Principe Pio (when it will leave and when will it arrive).

$ pyrenfe --origin 18000 --destine 10000

Show the same information, but inside a formatted table.

$ pyrenfe -o 18000 -d 10000 -p table

Check the timetable of all the trains between Atocha and Principe Pio for today.

$ pyrenfe --origin 18000 --destine 10000 --timetable

As you can see the origin and the destine are provided with numbers. Those numbers are the IDs of the stations. To take the IDs of your choice you have to fill the official form and then check in the POST which values are provided.

In the future I hope to add this functionality to the script (pull requests are accepted :D).

Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyrenfe-1.0.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Jun 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting