Skip to main content

The Python program I'm distributing for the first time

Project description

hello-aaingyunii_pr 1.1.0

  • The Python program I'm distributing for the first time

View at:

INSTALL

$ pip install hello-aaingyunii_pr

USE

$ hello-aaingyunii-pic



            ░░░░░░░░░░░░░░░░░░░░░░░░░░
            ░░░█▀▀▀░█▀▀█░░█▀▀░▀▀█░░█░░
            ░░░▀▀▀█░█░░█░░█▀▀░▄▀░░░▀░░
            ░░░▀▀▀▀░▀▀▀▀░░▀▀▀░▀▀▀░░▀░░
            ░░░░░░░░░░░░░░░░░░░░░░░░░░
            ⎛⎝(•‿•)⎠⎞⎛⎝(•‿•)⎠⎞⎛⎝(•‿•)⎠⎞⎛⎝(•‿•)⎠⎞
$ hello-aaingyunii-who

My name is aik
$ ha-weather

현재 위치 : 동작구 신대방2동 
현재 날씨: 맑음
현재 온도: 17.1°

DEV

$ git clone ...
$ cd hello-aaingyunii_pr
$ pdm venv create
$ source .venv/bin/activate
(hello-aaingyunii_pr-3.8) $ pdm install

TEST

$ pdm add -dG test pytest pytest-cov
$ pytest
$ pytest -s
$ pytest --cov

pytest

  • 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

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

hello_aaingyunii_pr-1.1.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

hello_aaingyunii_pr-1.1.0-py3-none-any.whl (5.0 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