> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-update-reference-docs-40.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK 0.27.0

> 설치 지침, 클래스, 함수 문서를 포함한 W&B Python SDK API 레퍼런스를 살펴보세요.

`wandb`로 사용할 수 있는 W\&B Python SDK를 사용하면 모델을 트레이닝하고 파인튜닝할 수 있으며, 실험부터 프로덕션까지 모델을 관리할 수 있습니다.

> 이 SDK로 트레이닝 및 파인튜닝 오퍼레이션을 수행한 후에는 [Public API](/ko/models/ref/python/public-api)를 사용해 로깅된 데이터를 쿼리하고 분석할 수 있으며, [Reports and Workspaces API](/ko/models/ref/wandb_workspaces)를 사용해 작업을 요약한 웹에 게시 가능한 [리포트](/ko/models/reports/)를 생성할 수 있습니다.

<div id="installation-and-setup">
  ## 설치 및 설정
</div>

<div id="sign-up-and-create-an-api-key">
  ### 회원가입하고 API 키 생성하기
</div>

W\&B에서 이 머신을 인증하려면 먼저 [User Settings](https://wandb.ai/settings)에서 API 키를 생성해야 합니다.

<div id="install-and-import-packages">
  ### 패키지 설치 및 임포트
</div>

W\&B 라이브러리를 설치합니다.

```
pip install wandb
```

<div id="import-wb-python-sdk">
  ### W\&B Python SDK 임포트하기:
</div>

```python theme={null}
import wandb

# 팀 엔티티를 지정하세요
entity = "<team_entity>"

# run이 기록될 프로젝트
project = "my-awesome-project"

with wandb.init(entity=entity, project=project) as run:
   run.log({"accuracy": 0.9, "loss": 0.1})
```
