- The Python program I'm distributing for the first time
View at:
$ pip install hello-aaingyunii_pr
$ hello-aaingyunii-pic
░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░█▀▀▀░█▀▀█░░█▀▀░▀▀█░░█░░
░░░▀▀▀█░█░░█░░█▀▀░▄▀░░░▀░░
░░░▀▀▀▀░▀▀▀▀░░▀▀▀░▀▀▀░░▀░░
░░░░░░░░░░░░░░░░░░░░░░░░░░
⎛⎝(•‿•)⎠⎞⎛⎝(•‿•)⎠⎞⎛⎝(•‿•)⎠⎞⎛⎝(•‿•)⎠⎞
$ hello-aaingyunii-who
My name is aik
$ ha-weather
현재 위치 : 동작구 신대방2동
현재 날씨: 맑음
현재 온도: 17.1°
$ git clone ...
$ cd hello-aaingyunii_pr
$ pdm venv create
$ source .venv/bin/activate
(hello-aaingyunii_pr-3.8) $ pdm install
$ pdm add -dG test pytest pytest-cov
$ pytest
$ pytest -s
$ pytest --cov
- who.py
def my_name():
print("My name is aik")
- test_who.py
from hello_aaingyunii_pr.who import my_name
def test_my_name():
my_name()
- test_weather.py
from hello_aaingyunii_pr.weather_show import weather_show
def test_weather():
weather_show()
assert True
$ pdm publish
- image to text : https://www.text-image.com/convert/ascii.html
- weather data : https://weather.naver.com/