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 details)
Built Distribution
File details
Details for the file dj_weather_show-2.0.0.tar.gz
.
File metadata
- Download URL: dj_weather_show-2.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.9.3 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a1ce9a823dd8a8349911cb5ba282a0f04c393658aae239c831bb681104d40ea |
|
MD5 | 7c15173709c64f10d03f213f65c84110 |
|
BLAKE2b-256 | bf6de030259015fbefaa4012daa34fc5d21b85ec5a8df7be147175ffc2f3167f |
File details
Details for the file dj_weather_show-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: dj_weather_show-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.9.3 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecbf4d96618d49fe6ed8cf27ee052d59424bf9483e22f7bd92a055bebc460825 |
|
MD5 | 626a874687889649e45fb8ff99ed2498 |
|
BLAKE2b-256 | bc8fbdef85f5445a4f4304847f54b2a1be4df11c4b9a755d062088e2d132d457 |