cloudpathlib
Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage.
파일 탐색기
- docs-master.yml
- docs-preview.yml
- release.yml
- tests.yml
- codecov.yml
- failed_build_issue_template.md
- pull_request_template.md
- __init__.py
- azblobclient.py
- azblobpath.py
- __init__.py
- gsclient.py
- gspath.py
- __init__.py
- httpclient.py
- httppath.py
- glob.py
- __init__.py
- azure.py
- gs.py
- s3.py
- __init__.py
- localclient.py
- localpath.py
- __init__.py
- s3client.py
- s3path.py
- __init__.py
- anypath.py
- client.py
- cloudpath.py
- cloudpath_info.py
- enums.py
- exceptions.py
- patches.py
- py.typed
- url_utils.py
- anypath.md
- azblobclient.md
- azblobpath.md
- client.md
- cloudpath.md
- enums.md
- exceptions.md
- gsclient.md
- gspath.md
- local.md
- s3client.md
- s3path.md
- caching.py
- patching_builtins.py
- testing_mocked_cloudpathlib.py
- why_cloudpathlib.py
- custom_mkdocstrings.css
- extra.css
- .nbautoexport
- anypath-polymorphism.md
- authentication.md
- caching.ipynb
- favicon.svg
- http.md
- integrations.md
- logo-no-text.svg
- logo.svg
- other_client_settings.md
- patching_builtins.ipynb
- testing_mocked_cloudpathlib.ipynb
- why_cloudpathlib.ipynb
- make_support_table.py
- mkdocs.yml
- pytest.ini
- file0_0.txt
- file0_1.txt
- file0_2.txt
- file_1_0_0.txt
- file_1_0.txt
- __init__.py
- mock_adls_gen2.py
- mock_azureblob.py
- mock_gs.py
- mock_s3.py
- utils.py
- __init__.py
- cli.py
- perf_file_listing.py
- runner.py
- insecure-test.crt
- insecure-test.key
- insecure-test.pem
- __init__.py
- conftest.py
- http_fixtures.py
- test_anypath.py
- test_azure_specific.py
- test_caching.py
- test_client.py
- test_cloudpath_file_io.py
- test_cloudpath_instantiation.py
- test_cloudpath_internal.py
- test_cloudpath_manipulation.py
- test_cloudpath_serialize.py
- test_cloudpath_upload_copy.py
- test_gs_specific.py
- test_http.py
- test_integrations.py
- test_local.py
- test_patching.py
- test_s3_specific.py
- utils.py
- .env.example
- .gitignore
- AGENTS.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- HISTORY.md
- LICENSE
- Makefile
- pyproject.toml
- README.md
- requirements-dev.txt
- setup.cfg
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
conda install
설명 보기 ▼
conda install
Install packages into an existing conda environment.
conda install {{package1 package2 ...}}
Install one or more package into the currently active conda environment:
conda install {{[-c|--channel]}} conda-forge {{package}}
Install a single package into the currently active conda environment using channel conda-forge:
conda install {{[-c|--channel]}} conda-forge --override-channels {{package}}
Install a single package into the currently active conda environment using channel conda-forge and ignoring other channels:
conda
설명 보기 ▼
conda
프로그래밍 언어에 대한 패키지, 의존성 및 환경 관리.
`create`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
관련 항목: `mamba`.
더 많은 정보: <https://docs.conda.io/projects/conda/en/latest/commands/index.html>.
conda create {{[-n|--name]}} {{environment_name}} {{python=3.9 matplotlib}}
새로운 환경을 생성합니다, 이름이 주어진 패키지로 설치합니다:
conda info {{[-e|--envs]}}
모든 환경의 리스트를 보여줍니다:
conda activate {{environment_name}}
환경을 불러오거나:
glob
설명 보기 ▼
glob
Glob 패턴 (`glob`)은 파일 이름이나 경로를 일치시키기 위해 사용하는 패턴.
참고: `glob`은 명령이 아니라, 다른 명령이나 쉘에서 사용하는 문법.
관련 항목: `regex`.
더 많은 정보: <https://en.wikipedia.org/wiki/Glob_(programming)>.
*
0개 이상의 임의의 문자와 일치:
?
임의의 한 문자와 일치:
[{{abc}}]
지정한 문자 집합 중 한 문자와 일치:
pip install
설명 보기 ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
readlink
설명 보기 ▼
readlink
심볼릭 링크를 따라가고 심볼릭 링크 정보를 가져옵니다.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/readlink-invocation.html>.
readlink {{path/to/file}}
심볼릭 링크가 가리키는 실제 파일을 가져오기:
readlink {{[-f|--canonicalize]}} {{path/to/file}}
파일의 절대 경로 가져오기:
rename
설명 보기 ▼
rename
정규 표현식 (`regex`)을 사용하여 하나 이상의 파일 이름을 변경.
경고: dry-run 옵션을 사용하지 않으면 확인 없이 기존 파일을 덮어쓸 수 있음.
참고: 이 문서는 `file-rename`으로도 알려진 Perl 버전의, rename을 다룸.
더 많은 정보: <https://manned.org/prename>.
rename 's/{{from}}/{{to}}/' {{*.txt}}
지정한 파일 이름에서 `from`을 `to`로 변경:
rename {{foo}} {{bar}} {{*}}
Rename files using simple substitutions (substitute `foo` with `bar` wherever found):
rename -n 's/{{from}}/{{to}}/' {{*.txt}}
Dry-run 수행 - 실제 변경 없이 변경될 내용만 표시:
stat
설명 보기 ▼
stat
파일 및 파일 시스템 정보를 표시.
관련 항목: `file`.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/stat-invocation.html>.
stat {{path/to/file}}
특정 파일에 대한 속성(크기, 권한, 생성 및 액세스 날짜 등) 표시:
stat {{path/to/file}}
파일의 크기, 권한, 생성 및 접근 날짜 등의 속성 표시:
stat {{[-t|--terse]}} {{path/to/file}}
레이블 없이 특정 파일에 대한 속성(크기, 권한, 생성 및 액세스 날짜 등) 표시:
unlink
설명 보기 ▼
unlink
파일 시스템에서 파일에 대한 링크를 제거.
해당 링크가 파일의 마지막 링크인 경우 파일 내용이 손실됩니다.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/unlink-invocation.html>.
unlink {{path/to/file}}
지정된 파일이 마지막 링크인 경우 해당 파일 제거:
copy
설명 보기 ▼
copy
파일을 복사하는 명령어.
더 많은 정보: <https://www.dosbox.com/wiki/Commands#COPY>.
COPY {{path/to/source_file}} {{path/to/destination_file}}
파일 복사:
container
설명 보기 ▼
container
Create and run Linux containers as lightweight virtual machines on macOS.
container system start
Start the container services (required before running containers):
container run --rm {{[-it|--interactive --tty]}} {{image}} {{sh}}
Run a container from an image interactively and remove it after it exits:
container run {{[-d|--detach]}} --name {{container_name}} {{[-p|--publish]}} {{8080:80}} {{image}}
Run a container in the background with a name and a published port:
md5
설명 보기 ▼
md5
MD5 암호화 체크섬을 계산합니다.
더 많은 정보: <https://keith.github.io/xcode-man-pages/md5.1.html>.
md5 {{path/to/file}}
파일의 MD5 체크섬 계산:
md5 {{path/to/file1 path/to/file2 ...}}
여러 파일의 MD5 체크섬 계산:
md5 -q {{path/to/file}}
파일명 없이 MD5 체크섬만 출력:
replace
설명 보기 ▼
replace
파일을 대체합니다.
관련 항목: `robocopy`, `move`, `del`.
더 많은 정보: <https://learn.microsoft.com/windows-server/administration/windows-commands/replace>.
replace {{path\to\file_or_directory}} {{path\to\destination_directory}}
대상 파일을 소스 디렉토리의 파일로 대체:
replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /a
기존 파일을 바꾸는 대신 대상 디렉토리에 파일을 추가:
replace {{path\to\file_or_directory}} {{path\to\destination_directory}} /p
여러 파일을 대상 디렉토리에 복사하고 대체하기 전에 대화형으로 확인:
