Skip to main content

Let's share a program made with Python with mankind. It's nothing. It's easy.

Project description

nothing-pip

  • 함께 배우고 가르치기 위해 만들어졌습니다.
  • 누구나 python으로 제작한 프로그램을 누구에게나 사용하도록 배포할 수 있습니다.
  • 아무것도 아닙니다.

Start

$ curl -sSL https://pdm.fming.dev/install-pdm.py | python3 -
$ mkdir nothing-pip & cd nothing-pip
$ pdm init
$ source .venv/bin/activate

Nothing

  • 한줄의 명령어로 누구나 사용 가능한 python 프로그램이 배포 되었습니다.
$ pdm publish

Building sdist...
Built sdist at .../nothing-pip/dist/nothing_pip-0.2.0.tar.gz
Building wheel...
Built wheel at .../nothing-pip/dist/nothing_pip-0.2.0-py3-none-any.whl
Username: dmario24 
Password: 
Uploading nothing_pip-0.2.0-py3-none-any.whl
Uploading nothing_pip-0.2.0.tar.gz
 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 kB
 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 kB

View at:
https://pypi.org/project/nothing_pip/0.2.0/
https://pypi.org/project/nothing-pip/0.2.0/

Showing off and promoting

$ pip install nothing-pip

검색도가능

END

끄읏


Challenge - 1

one tiny feature

  • 0.2.0 릴리즈 를 내려받아 해보세요.
  • 0.3.0 릴리즈 에 왼성 코드가 있습니다.
  • ping <-> pong 기능을 만들어 봅시다.
  • src/nothing_pip/ping.py 추가

test

  • 만든 기능 확인을 위해 테스트를 만들어 봅니다.
  • tests/test_ping.py 추가
  • test 하는법 여러 종류 한번씩 해보세요. 뭐가 다른지 ~
$ pytest
$ pytest -q
$ pytest -q tests/test_class.py

$ ---------- coverage: platform darwin, python 3.9.17-final-0 ----------
Name                          Stmts   Miss  Cover
-------------------------------------------------
src/nothing_pip/__init__.py       0      0   100%
src/nothing_pip/ping.py           4      0   100%
-------------------------------------------------
TOTAL                             4      0   100%

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

nothing_pip-0.3.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

nothing_pip-0.3.1-py3-none-any.whl (2.7 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