rocketchat_API
Python API wrapper for Rocket.Chat
파일 탐색기
- action.yml
- bug_report.md
- feature_request.md
- lint.yml
- release.yml
- test.yml
- test_latest.yml
- test_manually.yml
- dependabot.yml
- __init__.py
- RocketExceptions.py
- __init__.py
- assets.py
- banners.py
- base.py
- channels.py
- chat.py
- custom_emoji.py
- custom_sounds.py
- custom_user_status.py
- dm.py
- groups.py
- integrations.py
- invites.py
- licenses.py
- livechat.py
- miscellaneous.py
- moderation.py
- permissions.py
- roles.py
- rooms.py
- settings.py
- statistics.py
- subscriptions.py
- teams.py
- users.py
- users_engagement.py
- __init__.py
- rocketchat.py
- avatar.png
- avatar.svg
- logo.png
- __init__.py
- conftest.py
- test_assets.py
- test_banners.py
- test_channels.py
- test_chat.py
- test_custom_emoji.py
- test_custom_sounds.py
- test_custom_user_status.py
- test_dms.py
- test_exceptions.py
- test_groups.py
- test_integrations.py
- test_invites.py
- test_licenses.py
- test_livechat.py
- test_moderation.py
- test_paginated.py
- test_permissions.py
- test_roles.py
- test_rooms.py
- test_server.py
- test_settings.py
- test_subscriptions.py
- test_teams.py
- test_user.py
- test_users_engagement.py
- .coveragerc
- .deepsource.toml
- .editorconfig
- .gitignore
- bandit.yml
- CONTRIBUTING.md
- docker-compose.yml
- LICENSE.txt
- pyproject.toml
- qodana.yaml
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
black
설명 보기 ▼
black
Python 자동 코드 formatter.
관련 항목: `ruff`.
더 많은 정보: <https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html>.
black {{path/to/file_or_directory}}
파일 또는 전체 디렉토리의 자동 포맷:
black {{[-c|--code]}} "{{code}}"
전달된 코드를 문자열로 포맷:
black --check {{path/to/file_or_directory}}
파일을 다시 쓰지 않고 상태 반환:
docker compose down
설명 보기 ▼
docker compose down
Stop and remove containers, networks, images, and volumes created by `docker compose up`.
docker compose down
Stop and remove all containers and networks:
docker compose down --rmi all
Stop and remove containers, networks, and all images used by services:
docker compose down --rmi local
Stop and remove containers, networks, and only images without a custom tag:
docker compose up
설명 보기 ▼
docker compose up
Start and run Docker services defined in a Compose file.
docker compose up
Start all services defined in the docker-compose file:
docker compose up {{[-d|--detach]}}
Start services in the background (detached mode):
docker compose up --build
Start services and rebuild images before starting:
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:
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:
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]}}
테스트가 실패하거나 오류가 발생하면 즉시 종료:
until
설명 보기 ▼
until
Simple shell loop that repeats until it receives zero as return value.
until {{command}}; do :; done
Execute a command until it succeeds:
until ssh {{username}}@{{host}}; do sleep {{2}}; done
Try to connect to an SSH host until gracefully disconnected:
until systemctl is-active {{[-q|--quiet]}} {{nginx}}; do {{echo "Waiting..."}}; sleep 1; done; {{echo "Launched!"}}
Wait for a systemd service to be active:
