pvm
A fast CLI to discover, alias, and run Python virtual environments — with an interactive TUI
파일 탐색기
- release.yml
- pvm-clean-final.gif
- pvm-clean-final.mp4
- pvm-clean-final.tape
- pvm-demo-v3.gif
- pvm-demo-v3.mp4
- pvm-demo-v3.tape
- list.png
- tui.png
- .gitignore
- config.go
- config_test.go
- go.mod
- go.sum
- install.ps1
- install.sh
- logo.png
- main.go
- platform.go
- README.md
- ui.go
- uninstall.ps1
- uninstall.sh
- venv.go
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
django-admin
설명 보기 ▼
django-admin
관리 작업을 위한 Django 유틸리티.
더 많은 정보: <https://docs.djangoproject.com/en/stable/ref/django-admin/>.
django-admin startproject {{project_name}}
새로운 Django 프로젝트를 생성:
django-admin startapp {{app_name}}
현재 프로젝트 내부에 새로운 애플리케이션 생성:
django-admin help {{command}}
입력한 명령어에 대해 더 많은 정보 표시:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
go build
설명 보기 ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
pip
설명 보기 ▼
pip
Python 패키지 관리자.
`install`와 같은 일부 하위 명령어는 별도의 사용 문서가 존재.
더 많은 정보: <https://pip.pypa.io/en/stable/cli/pip/>.
pip install {{package}}
패키지 설치 (더 많은 설치 예시는 `pip install`를 참고):
pip install --user {{package}}
시스템 전체 기본 위치 대신 사용자 디렉터리에 패키지 설치:
pip install {{[-U|--upgrade]}} {{package}}
패키지 업그레이드:
pytest
설명 보기 ▼
pytest
Python 테스트 실행.
더 많은 정보: <https://docs.pytest.org/en/latest/how-to/usage.html>.
pytest {{path/to/test_file1.py path/to/test_file2.py ...}}
특정 파일에서 테스트 실행:
pytest -k {{expression}}
특정 [k]eyword 표현식과 일치하는 테스트 실행:
pytest {{[-x|--exitfirst]}}
테스트가 실패하거나 오류가 발생하면 즉시 종료:
python
설명 보기 ▼
python
Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.
python
REPL(대화형 셸) 시작:
python {{path/to/file.py}}
특정 Python 파일 실행:
python -i {{path/to/file.py}}
특정 Python 파일 실행 후 REPL 시작:
venv
설명 보기 ▼
venv
Python에서 가벼운 가상 환경을 생성.
더 많은 정보: <https://docs.python.org/library/venv.html>.
python -m venv {{path/to/virtual_environment}}
Python 가상 환경 생성:
{{[.|source]}} {{path/to/virtual_environment}}/bin/activate
가상 환경 활성화 (Linux 및 macOS):
{{path\to\virtual_environment}}\Scripts\activate.bat
가상 환경 활성화 (Windows):
