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 °
ᕱ ( ・ω・)
/ つΦ . .. .    

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%

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.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nothing_pip-0.3.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file nothing_pip-0.3.3.tar.gz.

File metadata

  • Download URL: nothing_pip-0.3.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.9.17

File hashes

Hashes for nothing_pip-0.3.3.tar.gz
Algorithm Hash digest
SHA256 f20a709b7ffb1bd14d7bfb3948ef7bd74f67113e2d242d80d86e179c58e51cf9
MD5 4098d05544e126be2fa0c75936fe9d98
BLAKE2b-256 bff3976028c45d2c8ec1a474b5c4b6214154717e8da15877cd5a79b7bb218bf9

See more details on using hashes here.

File details

Details for the file nothing_pip-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: nothing_pip-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.2 CPython/3.9.17

File hashes

Hashes for nothing_pip-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 262c4cd3b2cf3d9ecf8e84bde52adb40f1f186bebf14949406a90e87a09ccf45
MD5 f0d59e5c167d69ad795dbdd6d25bb088
BLAKE2b-256 f284ca0f3a710607d663864b1b55e1888ee0489409239e77eb349d85ff5063b8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page