Skip to content

Here's a Python project that takes a city name as input and prints the current time in the input city and in a set of predefined locations.

License

Notifications You must be signed in to change notification settings

Avirmora/timezone_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 Timezone Viewer

This a Simple Python script allows users to enter any city and displays the current local time in that city as well as in several predefined global cities.

Predefined Cities

  • New York
  • California
  • Chicago
  • India
  • UK
  • Sydney
  • Melbourne
  • Ireland

How to Use

  1. Install the dependencies: pip install pytz pip install geopy pip install timezonefinder pip install pytest

  2. Test command:

python -m pytest tests/test_main.py

🚀 Usage

python app/main.py

About

Here's a Python project that takes a city name as input and prints the current time in the input city and in a set of predefined locations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published