Skip to main content

A versatile Python package with multiple features

Project description

Install

pip install -U multifeatures

Documentation

Example Usage

from MultiFeatures.IndianRailway import confirmtkt
confirmtkt_object = confirmtkt.Confirmtkt()
try:
    live_status_data = confirmtkt_object.live_train_status(train_no="12345", doj="01-01-2023", locale="en")
    print(live_status_data)
except NotAValidTrainNumber as error:
    print(f"Error: {error}")
except InternetUnreachable:
    print("Error: Connectivity issue. Please check your internet connection.")
except HTTPErr:
    print("Error: ran into an issue. Please try again later, or Check the data.")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MultiFeatures-1.0.3.tar.gz (134.6 kB view hashes)

Uploaded Source

Built Distribution

MultiFeatures-1.0.3-py3-none-any.whl (147.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page