Tenki is a command-line tool for visualizing weather conditions. The name "Tenki" comes from the Japanese word for "weather".
-
Clone the Repository
git clone https://github.com/shuvam586/tenki.git
-
Install Dependencies
pip install -r requirements.txt
-
API Key
Generate an API key from OpenWeather and save it in a.env
file asapi_key
-
Set alias
Create an alias in your.bashrc
alias weather="python3 /path/to/tenki/main.py"
or if you are using powershell:
'function tenki { python3 /path/to/tenki/main.py } Set-Alias weather tenki' | Out-File -Append -Encoding utf8 $PROFILE
-
Customization
You can modify the location and units inconfig.py
.
Feel free to customize the script and ASCII art as you like.