Metadata-Version: 2.4
Name: rail-lib
Version: 0.1.0
Summary: A small helper library for Irish Rail ticket fares and routes
Project-URL: Homepage, https://github.com/Hussain00353/irishrail_project
Author-email: Hussain <author@example.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# rail-lib

A small helper library used for the Irish Rail project.

## Features

- Calculate ticket fares  
- Validate train routes  

## Functions

### `calculate_fare(is_student=False, seat_class="normal")`
Returns the ticket fare based on rules:
- Base fare €15
- Business class +15%
- Student discount -10%

### `is_valid_route(from_station, to_station)`
Checks if a route is valid (not the same station).
