Weather Application
The Global Weather Application is a web-based tool built using Python Flask that provides real-time weather information for cities around the world. This application allows users to search for weather conditions in various locations, offering a user-friendly interface to access up-to-date meteorological data.
- City Weather Search: Users can search for weather information by city name.
- Real-time Data: Fetches current weather data from a reliable weather API.
- Temperature Display: Shows temperature in both Celsius and Fahrenheit.
- Weather Conditions: Provides information on current weather conditions (e.g., sunny, cloudy, rainy).
- Additional Metrics: Displays humidity, wind speed, and atmospheric pressure.
- Responsive Design: Optimized for various screen sizes and devices.
- Backend: Python Flask
- Frontend: HTML, CSS, JavaScript
- API: OpenWeatherMap API for weather data
- Deployment: Heroku (or your preferred hosting platform)
-
Start the Flask application:
python app.py -
Open your browser and navigate to
http://localhost:5000to access the application.
To deploy this application to a production environment:
- Choose a hosting platform (e.g., Heroku, PythonAnywhere).
- Follow the platform's instructions for deploying a Flask application.
- Ensure you set the environment variables, including your API key, in the production environment.