Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coldbydefault/weathercli
https://github.com/coldbydefault/weathercli
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/coldbydefault/weathercli
- Owner: ColdByDefault
- Created: 2024-08-06T18:27:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T18:45:10.000Z (5 months ago)
- Last Synced: 2024-08-06T22:21:24.453Z (5 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather CLI Tool
A simple command-line tool for fetching weather information using Python and OpenWeatherMap API.
#### more on Wiki
## Features- Fetch current weather for a specified city
- Display temperature, humidity, and weather conditions
- Choose between Celsius and Fahrenheit units## Installation
1. Clone the repository:
```bash
git clone https://github.com/ColdByDefault/weatherCLI.git
```
2. Navigate into the project directory:
```bash
cd weather-cli-tool
```
3. Create env:
```bash
python -m venv venv
```
###### venv
```bash
python -m pip install --user virtualenv
```## Usage
1. Activate the virtual environment:
```bash
source venv/bin/activate # On macOS/Linux
.\venv\Scripts\activate # On Windows
```
2. Install required packages:
```bash
pip install -r requirements.txt
```
3. Run the application:
```bash
python weather.py
```## Contributing
1. Fork the repository
2. Create a new branch (git checkout -b feature/your-feature)
3. Commit your changes (git commit -m 'Add your feature')
4. Push to the branch (git push origin feature/your-feature)
5. Create a new Pull Request