A modern, colorful Python CLI utility for global time zone lookup, comparison, and management
Sick of Googling time zones every day?! Stop wasting time figuring out the time. π gtime makes it effortless to work across time zones with fuzzy search, favorites, real-time updates, and beautiful terminal output.
If gtime helps you manage time zones more efficiently, please consider giving it a β on GitHub! Your support helps us improve and motivates continued development.
β Star this project β’ π Report issues β’ π‘ Request features
- β‘ Lightning fast - Optimized for large city databases
- π Smart search - Fuzzy matching finds cities even with typos
- β€οΈ Favorites - Save your most-used cities for quick access
- π Live updates - Watch mode for real-time monitoring
- π¨ Beautiful output - Colorful, rich terminal interface
- π€ Meeting helper - Convert meeting times across all favorites with timezone support
- π Global team ready - Supports UTC, EST, PST, JST, CET and more timezones
- π Compare easily - Side-by-side time comparisons
pip install gtimegit clone https://github.com/savitojs/gtime.git
cd gtime
pip install .# Get the time in any city
gtime London
# Add cities to your favorites
gtime add Tokyo Singapore "New York"
# See all your favorite cities at once
gtime list
# Compare times across multiple cities
gtime compare London Tokyo Sydney
# Find the perfect meeting time
gtime meeting at "2:00 PM"
# Live monitoring mode
gtime watchSee gtime in action:
Note: Some command output may appear broken in the demo, but it works perfectly in real terminal usage
- Fuzzy search:
gtime tokyfinds Tokyo - Suggestions: Get helpful suggestions for misspelled cities
- Instant results: Lightning-fast lookups even with huge databases
gtime add "Los Angeles" Berlin Mumbai # Add multiple cities
gtime remove Tokyo # Remove a city
gtime list # View all favorites
gtime clear # Clear all favoritesgtime compare London Tokyo "New York" # Compare specific cities
gtime compare # Compare all favoritesgtime meeting at "10:00 AM" # Convert across favorites
gtime meeting at "15:30" # 24-hour format supported
gtime meeting at "3 PM UTC" # Shows "Coordinated Universal Time (UTC)"
gtime meeting at "9:00 AM EST" # Shows "Eastern Standard Time (EST)"gtime watch # Monitor all favorites
gtime watch London Tokyo # Watch specific citiesWhen you specify a timezone, gtime shows the full timezone name for clarity:
gtime meeting at "10:00 AM JST" # Shows: "Japan Standard Time (JST)"
gtime meeting at "3 PM UTC" # Shows: "Coordinated Universal Time (UTC)"
gtime meeting at "2:00 PM EST" # Shows: "Eastern Standard Time (EST)"# Simple city lookup
gtime Paris
gtime "San Francisco"
gtime mumbai # Case insensitive
# With fuzzy matching
gtime pairs # Finds Paris
gtime newyork # Finds New York# Build your favorite cities list
gtime add London Tokyo "San Francisco" Berlin
gtime add Mumbai # Add one more
gtime list # See your collection
# Remove cities you no longer need
gtime remove Berlin
gtime clear # Start fresh# Compare multiple cities
gtime compare London Tokyo Sydney Mumbai
# Perfect for planning meetings
gtime meeting at "9:00 AM" # What time is 9 AM across favorites?
gtime meeting at "14:30" # 24-hour format supported
gtime meeting at "3 PM UTC" # Timezone support for global teams
# Real-time monitoring
gtime watch # Live updates every second# Install development dependencies
pip install -r requirements.txt
# Run tests
pytest tests/
# Run performance tests
python tests/perf/profile_lookup.pyWe welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes and add tests
- Run tests:
pytest - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project includes automated workflows:
- π§ͺ Tests: Runs on every push/PR across Python 3.8-3.12
- π¦ Publish: Automatically publishes to PyPI upon new GitHub release
- π Documentation: Check out our Wiki
- π Bug Reports: Create an issue
- π‘ Feature Requests: Suggest new features
- π¬ Discussions: Join the conversation
This project is licensed under the MIT License - see the LICENSE file for details.
If gtime makes your life easier, please consider:
- β Starring this repository
- π¦ Sharing it on social media
- π Writing a review
- π€ Contributing to the project
Made with β€οΈ for developers working across time zones
Happy time zone management! π
