Python 2.7 はサポートが終了しており、2026 年 1 月 31 日に
非推奨になります。非推奨になると、過去に組織のポリシーを使用して以前のランタイムのデプロイを再度有効にしていた場合でも、Python 2.7 アプリケーションをデプロイできなくなります。既存の Python 2.7 アプリケーションは、
非推奨日以降も引き続き実行され、トラフィックを受信します。
サポートされている最新バージョンの Python に移行することをおすすめします。
組み込みサードパーティ ライブラリ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページでは、App Engine Python 2.7 ランタイムで使用できる組み込みサードパーティ ライブラリについて説明します。なお、ローカルの開発用サーバーでテストする場合にローカルへのインストールが必要となるライブラリがあります。
App Engine Python 2.7 ランタイムでは、アプリケーションで次のサードパーティ ライブラリを使用できます。
名前 |
デフォルトのバージョン |
サポートされるバージョン |
説明 |
django | (なし) |
"1.2"(非推奨) "1.3"(非推奨) "1.4" "1.5"(非推奨) "1.9"(非推奨) "1.11" |
さまざまな機能を備えた、Python 用のウェブ アプリケーション フレームワーク。 |
enum | (なし) |
"0.9.23" |
Python 3.4 で導入された enum モジュールのバックポート。 |
endpoints | (なし) |
"1.0" |
App Engine アプリケーションでの API のビルド用のライブラリ。 |
flask | (なし) |
"0.12" |
Werkzeug、Jinja 2 と善意に基づく Python 向けマイクロフレームワークである Flask。 |
futures | (なし) |
"3.0.5" |
Python 3.2 Future のバックポート。 |
grpcio | (なし) |
"1.0.0" |
ハイ パフォーマンスな汎用 RPC フレームワーク(1.1.0dev はサポートされなくなりました。代わりに 1.0.0 を使用してください)。 |
jinja2 | (なし) |
"2.6" |
最先端でデザイナーも扱いやすい Python 用テンプレート言語。 |
lxml | (なし) |
"2.3"(非推奨) "2.3.5"(非推奨) "3.7.3" |
C の libxml2 および libxslt ライブラリ用の Python バインド。 |
markupsafe | (なし) |
"0.15" "0.23" |
Python 用の XML/HTML/XHTML マークアップに安全な文字列。 |
matplotlib | (なし) |
"1.2.0" |
出版品質の図表を生成する 2D プロット ライブラリ。 |
MySQLdb | (なし) |
"1.2.4b4"(非推奨) "1.2.4"(非推奨) "1.2.5" |
MySQL に対する Python DB API v2.0 互換インターフェース。 |
numpy | (なし) |
"1.6.1" |
配列処理用の汎用ライブラリ。 |
PIL | (なし) |
"1.1.7" |
画像の作成および変換用のライブラリ。 |
protorpc | "1.0" |
"1.0" |
HTTP ベースのリモート プロシージャ コール(RPC)サービスを実装するためのフレームワーク。 |
pytz | "2017.3" |
"2016.4"(非推奨) "2017.2" (非推奨) "2017.3" |
クロスプラットフォームのタイムゾーン計算用のライブラリ。 |
crcmod | (なし) |
"1.7" |
巡回冗長検査(CRC)の生成用のライブラリ。 |
protobuf | (なし) |
"3.0.0"(アルファ版) |
構造化データをシリアル化するためのライブラリ |
PyAMF | (なし) |
"0.6.1" "0.7.2"(アルファ版) |
Action Message Format(AMF)機能を提供するライブラリ。 |
pycrypto | (なし) |
"2.3"(非推奨) "2.6" "2.6.1" |
乱数の生成など、暗号化機能のライブラリ。 |
setuptools | (なし) |
"0.6c11"(非推奨) "36.6.0" |
パッケージとモジュールの検索機能を提供するライブラリ。 |
six | "1.12.0" |
"1.9.0" "1.12.0" |
py2.x と py3 の差異を抽象化。 |
ssl | (なし) |
"2.7"(非推奨) "2.7.11" |
SSL ソケット ラッパーの組み込みモジュール。 |
ujson | (なし) |
"1.35" |
純粋な C 言語で記述された超高速 JSON エンコーダおよびデコーダである UltraJSON。 |
webapp2 | "2.3" |
"2.3" "2.5.1"(非推奨) "2.5.2" |
Python 用の軽量ウェブ フレームワーク。 |
webob | "1.1.1" |
"1.1.1" "1.2.3" |
WSGI リクエスト環境に関連したラッパーを提供するライブラリ。 |
werkzeug | "0.11.10" |
"0.11.10" |
WSGI ユーティリティのライブラリ。 |
yaml | "3.10" |
"3.10" |
YAML のシリアル化と非シリアル化用のライブラリ。 |
これらのライブラリの使用方法については、Python 2.7 での組み込みライブラリの使用をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThis document details the third-party libraries available for use with the App Engine Python 2.7 runtime.\u003c/p\u003e\n"],["\u003cp\u003eThe App Engine Python 2.7 runtime offers a variety of libraries, including web frameworks, utility, and data-processing libraries, such as Django, Flask, NumPy, and many others.\u003c/p\u003e\n"],["\u003cp\u003eEach listed library has specified supported versions, and many do not have default versions pre-selected.\u003c/p\u003e\n"],["\u003cp\u003eSome libraries must be installed locally when using the local development server for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content gives both information and specific links for the reader to learn more about how to use these built-in libraries.\u003c/p\u003e\n"]]],[],null,["# Built-in Third-party Libraries\n\nThis page documents and describes built-in third-party libraries that you can\nuse with the App Engine Python 2.7 runtime. Some [libraries require that\nyou install them locally](/appengine/docs/legacy/standard/python/tools/using-libraries-python-27#local_development) when testing with the local development server.\n\nThe App Engine Python 2.7 runtime can provide your application with the\nfollowing third-party libraries:\n\nFor information about how to use these libraries, see\n[Using Built-in Libraries in Python 2.7](/appengine/docs/legacy/standard/python/tools/using-libraries-python-27)."]]