Skip to content
/ Renfepy Public

🚂 Train search CLI program and library written in Python

Notifications You must be signed in to change notification settings

tekofx/Renfepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renfepy

Python library to search for trains on renfe.es

Installation

pip3 install renfepy

If chromium is not installed Renfepy will install a it. In case of error it is recommended to install it.

Usage

from renfepy.renfe import RenfePy

renfepy = RenfePy(gui=False)
going_trains = renfepy.search("Madrid", "Barcelona", "04/02/2023")
going_trains.table()