# Python開発者用セットアップ

## Python概要

PythonベースのKeeperコマンダー (CLI) は、Pythonプロジェクト向けの統合機能を提供し、ボルトおよび管理コンソールの全機能にアクセスできます。

2025年11月に、最新のPythonライブラリとして新しいKeeper Python SDKをリリースしました。Keeperのエンジニアリングチームは、後方互換性を確保するため、新しいPython SDKに加えて、既存のコマンダーCLIコードベースの保守も継続しています。

Keeperコマンダーを使用してPythonアプリケーションを構築するには、以下の2つの方法があります。

* 新しいKeeper Python SDKを使用する方法
* コマンダーCLIのコードベースを使用する方法

## 1. 新しいKeeper Python SDK

新しい[Keeper Python SDK](/keeperpam/jp/commander-sdk/keeper-commander-sdks.md)は、Keeperボルトおよび管理機能にプログラム的にアクセスできるモダンなPythonライブラリです。コマンダーCLIコードベースをリファクタリングしており、以下のようにカスタム機能を簡単に構築できるようになっています。

* カスタム統合やアプリケーションの構築
* エンタープライズ構造、ユーザー、ロール、チーム、設定の管理
* レコード作成・更新・削除などのボルトおよびPAM操作の実行

セットアップ手順の詳細については、[こちらのページ](/keeperpam/jp/commander-cli/commander-installation-setup/python-developer-setup/commander-sdk-for-python.md)をご参照ください。SDKの使用例となるサンプルスクリプトは[こちらのページ](https://github.com/Keeper-Security/keeper-sdk-python/tree/master/examples)から確認できます。

***

## 2. コマンダーCLIコードベースの利用

コマンダーCLIは、Keeperボルトおよびエンタープライズ環境との統合用の実運用向けコマンドラインアプリケーションです。スタンドアロンのCLIツールとしても、スクリプト内でライブラリとしてインポートして利用することもできます。このコードベースから、Windows、macOS、Linux用のコマンダーCLIバイナリインストーラーが作成されています。

* 詳細なセットアップ手順については[こちらのページ](/keeperpam/jp/commander-cli/commander-installation-setup/python-developer-setup/commander-cli-as-sdk.md)をご覧ください。
* レコード検索、チーム作成、フォルダ共有などの操作用スタンドアロンスクリプトについては[こちらのページ](https://github.com/Keeper-Security/Commander/tree/master/examples)をご覧ください。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/jp/commander-cli/commander-installation-setup/python-developer-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
