only tell you the weather in Dongjak-gu
Project description
dj-weather-show
only tell you the weather in Dongjak-gu
Thank you very much. It started with the following.
INSTALL
$ pip install dj-weather-show`
USE
$ dj-weather-show
현재 위치: 동작구 신대방2동
현재 날씨: 맑음
현재 온도: 19.3°
$ python
Python 3.8.18 (default, Oct 17 2023, 20:11:17)
[GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from dj_weather_show.weather_show import get_weather
>>> location, weather_condition, temperature = get_weather()
>>> print(f"\n현재 위치: {location}")
현재 위치: 동작구 신대방2동
>>> print(f"현재 날씨: {weather_condition}")
현재 날씨: 맑음
>>> print(f"현재 온도: {temperature}°")
현재 온도: 19.3°
>>>
DEV
$ git clone ...
$ cd ...
$ pdm venv create
$ source .venv/bin/activate
(dj-weather-show-3.8) $ pdm install
TEST
$ pdm add -dG test pytest pytest-cov
$ pytest
$ pytest -s
$ pytest --cov
DEPLOY
$ pdm publish
REF
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj_weather_show-2.0.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for dj_weather_show-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecbf4d96618d49fe6ed8cf27ee052d59424bf9483e22f7bd92a055bebc460825 |
|
MD5 | 626a874687889649e45fb8ff99ed2498 |
|
BLAKE2b-256 | bc8fbdef85f5445a4f4304847f54b2a1be4df11c4b9a755d062088e2d132d457 |