Skip to main content

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


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)

Uploaded Source

Built Distribution

dj_weather_show-2.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page