fpy

(★ 12)

Fpy: an advanced sequencing language for F-Prime

파일 탐색기

  • .gitignore
  • .gitmodules
  • .pre-commit-config.yaml
  • CLAUDE.md
  • CMakeLists.txt
  • fpy_logo.png
  • LICENSE
  • pyproject.toml
  • README.md
  • SEQ_ARGS.md
  • settings.ini
  • setup.py
  • SPEC.md
  • uv.lock
  • VERSIONING.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

cargo build

설명 보기 ▼

Compile a local package and all of its dependencies.

cargo {{[b|build]}}

Build the package or packages defined by the `Cargo.toml` manifest file in the local path:

cargo {{[b|build]}} {{[-r|--release]}}

Build artifacts in release mode, with optimizations:

cargo {{[b|build]}} --locked

Require that `Cargo.lock` is up to date:

🔍

elif

설명 보기 ▼

이 쉘 키워드는 `if`와 `else`와 함께 사용되어 코드 분기를 정의.

tldr if

`if` 명령어 문서 보기:

🔍

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:

🔍

git commit

설명 보기 ▼

Commit files to the repository.

git commit

Open an editor to write a message and commit staged files to the repository:

git commit {{[-m|--message]}} "{{message}}"

Commit staged files to the repository with the specified message:

git commit {{[-F|--file]}} {{path/to/commit_message_file}}

Commit staged files with a message read from a file:

🔍

git submodule

설명 보기 ▼

Inspect, update, and manage submodules.

git submodule

View existing submodules and the checked-out commit for each one:

git submodule update --init --recursive

Install a repository's submodules (listed in `.gitmodules`):

git submodule add {{repository_url}}

Add a Git repository as a submodule of the current one:

🔍

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

설명 보기 ▼

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]}}

테스트가 실패하거나 오류가 발생하면 즉시 종료:

🔍

rustup update

설명 보기 ▼

Update Rust toolchains and `rustup` itself (if not installed using a package manager).

rustup update

Update all installed toolchains and `rustup`:

rustup update {{toolchain}}

Install or update a specific toolchain (see `rustup help toolchain` for more information):

🔍

timeout

설명 보기 ▼

명령을 일정 시간 제한 내에서 실행.
더 많은 정보: <https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html>.

timeout 3s sleep 10

`sleep 10`을 실행하고 3초 후 종료:

timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}

시간 제한이 만료되면 명령에 [s]ignal을 전송 (`TERM`이 기본, 모든 신호 목록은 `kill -l`):

timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{command}}

시간 초과 시 전송된 신호를 `stderr`에 [v]erbose 출력으로 표시:

🔍

uv run

설명 보기 ▼

Run a command or script in the project environment.

uv run {{path/to/script.py}}

Run a Python script:

uv run {{[-m|--module]}} {{module_name}}

Run a Python module:

uv run {{[-w|--with]}} {{package}} {{command}}

Run a command with additional packages installed temporarily:

🔍

uv sync

설명 보기 ▼

Update the project's environment to match the lockfile.

uv sync

Sync the project environment with the lockfile:

uv sync --all-extras

Sync and include all optional dependencies:

uv sync --extra {{extra_name}}

Sync with specific optional dependencies:

// repository documentation