Skip to main content

nothing-pip

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

Start

  • 차차 파이썬 프로그램 배포에 대한 공식 문서를 슬쩍 봐 주세요. 담에 필요하면 정독해 보세요.
  • 여기서는 PDM 을 사용합니다. 설치 로그는 0.1.0 릴리즈 노트 에 정리되어 있습니다.
# PDM 설치
$ curl -sSL https://pdm.fming.dev/install-pdm.py | python3 -
# 새로운 프로젝트 초기 구조 생성
$ mkdir nothing-pip & cd nothing-pip
$ pdm init
# 새로운 프로젝트의 파이썬 가성환경 활성화 - 다른 파이썬 환경과 구별됩니다.
$ source .venv/bin/activate

Nothing

  • 그리고 아래와 같이 한줄의 명령어로 누구나 사용 가능한 python 프로그램이 배포 되었습니다.
  • id/password 는 여기서 가입하세요.
$ 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

*。*.。*∧,,,∧
 ヾ(⌒(_=•ω•)_
- 끝입니다. 끄읏 ㅋㅋㅋ
- 뭔가 계속 해보고 싶다면 ...

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█░░░░░░░░▀█▄▀▄▀██████░▀█▄▀▄▀██████░
░░░░░░░░░░░▀█▄█▄███▀░░░ ▀██▄█▄███▀░

▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▓▒▒▓▒▒▒▒
▒▒▒▒▓▒▒▓▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒
▒▓▒▒▒▒▒▒▒▒▓▒
▒▒▓▓▓▓▓▓▓▓▒▒
▒▒▒▒▒▒▒▒▒▒▒▒

  ...../)─―ヘ
     ━/    \
    /    ●  ●丶
   |       ▼ | (침묵)
   |       亠ノ  
    U ̄U ̄ ̄ ̄U ̄ ̄U

.           ∧_∧ 三=
  ∧_∧    ☆   (˘ω˘ )三=
=≡( ・ω・) ∧_∧ ,; _ノ つ ノつ 三=
  ⊂⊂ニ );)д`((⊂ _ _⊂) 三=
-=≡ (_(_/⊂ O)
     '/  ヽ
     ∪ ̄\)

╭ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝ ͡ ◜◝╮
             아래 도전을 진행해 보세요.
╰ ◟◞ ͜ ◟◞ ͜ ◟◞ ͜ ◟◞ ͜ ◟◞ ͜ ◟◞ ͜ ◟◞ ͜ ◟◞ ͜ ◟◞ ╯
O °
ᕱ ᕱ
( ・ω・)
/ つΦ . .. . ﹢ ⃰ ଂ ಇ

Challenge - 1

one tiny feature

  • 0.2.0 릴리즈 를 내려받아 해보세요.
  • 0.3.3 릴리즈 에 왼성 코드가 있습니다.
  • 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%

Metadata

Release files for nothing-pip 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nothing-pip 0.3.3
File Size Uploaded
nothing_pip-0.3.3.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nothing-pip 0.3.3
File Interpreter ABI Platform
nothing_pip-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / nothing_pip-0.3.3.tar.gz

Download URL nothing_pip-0.3.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f20a709b7ffb1bd14d7bfb3948ef7bd74f67113e2d242d80d86e179c58e51cf9
BLAKE2b-256 checksum
How to use checksums
bff3976028c45d2c8ec1a474b5c4b6214154717e8da15877cd5a79b7bb218bf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.8.2 CPython/3.9.17

Release files / nothing_pip-0.3.3-py3-none-any.whl

Download URL nothing_pip-0.3.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
262c4cd3b2cf3d9ecf8e84bde52adb40f1f186bebf14949406a90e87a09ccf45
BLAKE2b-256 checksum
How to use checksums
f284ca0f3a710607d663864b1b55e1888ee0489409239e77eb349d85ff5063b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.8.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page