https://github.com/sangamcse/mypnrstatus
A script in python3 to check PNR status on your terminal
https://github.com/sangamcse/mypnrstatus
indian-railways indianrailways pnr pnrstatus python-3 python-3-6 python-script python3
Last synced: 11 months ago
JSON representation
A script in python3 to check PNR status on your terminal
- Host: GitHub
- URL: https://github.com/sangamcse/mypnrstatus
- Owner: sangamcse
- Created: 2018-06-27T19:08:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T19:03:32.000Z (almost 8 years ago)
- Last Synced: 2025-03-18T05:32:46.012Z (about 1 year ago)
- Topics: indian-railways, indianrailways, pnr, pnrstatus, python-3, python-3-6, python-script, python3
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myPNRStatus
A script in python3 to check PNR status on your terminal
## Installation
This script uses `requests` which requires python 3.6 or higher runtime.
```
pip3 install -r requirements.txt
```
## Usage
### As script
```
bash$ python3 main.py
Enter your PNR: 8606850987
*** You Queried For : PNR Number: 8606850987 ***
Charting Status: No No. of Passengers: 1
Train Number Train Name Boarding Date From To Reserved Upto Boarding Point Class
-------------- -------------- --------------- ------------ -------------- --------------- ---------------- -------
15635 DWARKA EXPRESS 10-08-2018 AHMEDABAD JN NEW JALPAIGURI NEW JALPAIGURI VADODARA JN 3A
S. No. Booking Status (Coach No , Berth No., Quota) *Current Status (Coach No , Berth No.)
-------- ---------------------------------------------- ----------------------------------------
0 RLWL/-/25/GN RLWL/-/11/GN
```
## TODO
- [x] Test with waiting tickets for single passenger.
- [x] Test with waiting tickets for multi-passenger.
- [x] Test with confirmed tickets.