All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.1.2 - 2022.12.25
- Changed license from GPLv3 to MIT.
- Added MIT License notice to source code files
- Added requirements.txt
- Removed unused codes
- Implemented comprehensions
- Formatted with autopep8
- Added .vscode settings
- [Windows] Fixed typo in pwy/cli.py #13 (@patevs).
- Fixed KeyError in cli.py
- Added default value when configuring unit and language for
pwy.json
.
1.4.5 - 2021.11.09
- Replaced
pwyrc
withpwy.json
.- pwy.json
- Set OWM API key.
- Set default location.
- Set default unit.
- Set default language.
- pwy.json
- Ability to display weather using the
pwy
command.- pwy reads the values set in the pwy.json file.
- If there is/are arguments,
pwy
will satisfy the arguments.
- Minor code cleanup.
1.4.4 - 2021.09.30
- Implemented rich.
- Replaced colours.py with rich library.
- Removed colours.py.
- Formatted using black module.
- Minor code cleanup
1.4.3 - 2021.09.26
- Added default value to the arguments and removed the unnecessary if else.
- Removed the unnecessary f-strings
- Added
sys.exit(1)
. - Moved
.pwyrc
to~/.config/pwyrc
(in Unix-like OS). - Minor code refactor.
1.4.2 - 2021.09.17
- Moved
__main__.py
tocli.py
. - Added
_version.py
. - Added
--version
argument. - Remove
key.py
. - Added
--config
argument to setup pwy. - API key is now stored in
.pwyrc
.
- Changed
key.py
tokey.json
- Removed the
main
function and its contents toif __name__ == "__main__
.
1.4.0 - 2021.06.26
- Separated get_ascii() and get_weather_translation().
- Removed the output labels.
- Added main.py
- Added zip and tar.gz archives for manual installation.
- Refactored
__main__.py
to process JSON. - Refactored
translation.py
for easier access and readability. - Added
run_pwy.py
for manual installation. - Updated the API key and removed the API key in the
key.py
file. PyPi package can still be used without any problems. - Added a space before between the wind direction and wind speed.
- Removed unused variable.
- Added wind direction.
- Wildcard imports removed.
- Merged pull request #7 from @ChaseParate.
- Known issues:
- Incomplete translation for Heavy Intensity Rain
- Missing weather translations for Heavy Rain, Thunderstorm, and Snow.
- No translations for Arabic, Persian, and Hebrews languages.
- Patch
- Added
requests
on setup.py.
- Added
- Added
standard
unit (Kelvin). - Added text colour on the current time.
- Minor code refactor:
- Changed pwy/translation.py:
lang_list
toLANGUAGES
. - Removed wildcard import for
colours
- Changed pwy/translation.py:
- Added
Mist
translation.
- Fixed the local time and time zone.
- Minor ASCII art fix to match the new UI.
- Added Moderate Rain translation.
- Added local time (24 hour format) and time zone.
-
Name change from
wwy
topwy
. -
Revamped UI.
-
--unit
argument for the units (metric, imperial). -
--lang
argument for the languages. -
Added translations.
-
Known issues
- Missing weather translations for Moderate Rain, Heavy Rain, Thunderstorm, Snow, and Snow.
- No translations for Arabic, Persian, and Hebrews languages.
- Minor typo fix.
- Changed .format() to f-string.
- Added wind speed information.
- Fixed the incorrect ASCII art.
- Minor fixes.
- Added -u parameter for the units (metric, imperial).
- Changed the city name from optional argument to positional argument.
- Fixed missing 'light_rain' ASCII art.
- Fixed name 'light_rain' is not defined.
- Added Mist ASCII art.