You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or
API help for more information.
<?xml version="1.0"?>
<api>
<query-continue>
<allpages gapcontinue="flake8-vim" />
</query-continue>
<query>
<pages>
<page pageid="54" ns="0" title="bpython">
<revisions>
<rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">[[bpython]]は、Pythonインタプリターのためのファンシーインターフェースです。Pythonのインタラクティブシェルとして使用するとシンタックスハイライトや入力補完などができて、便利です。
'''読み方'''
;[[bpython]]:びーぱいそん
__TOC__
== 概要 ==
[[bpython]]の主な機能は、以下のとおりです。
* インラインシンタックスハイライト
* readline ライクな入力自動補完と候補表示
* Python関数の期待される引数のリスト
* 記憶と再評価のためのコードの最終行をポップする"Rewind" 機能
* 入力したコードをpastebinに送信
* 入力したコードをファイルに保存
* 自動インデント
* Python 3 のサポート
== インストール ==
<syntaxhighlight lang="bash">
$ sudo pkg install bpython
</syntaxhighlight>
== 使い方 ==
* [[Pythonインタラクティブシェルのbpythonで入力補完する]]
== 関連項目 ==
{{introduction}}
<!-- vim: filetype=mediawiki --></rev>
</revisions>
</page>
<page pageid="65" ns="0" title="easy install">
<revisions>
<rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">[[easy_install]] とは、setuptoolsで提供されるPythonモジュールのパッケージ管理システムです。[[easy_install]]の後継の[[pip]]を利用しましょう。
'''読み方'''
;[[easy_install]]:いーじーいんすとーる
__TOC__
== 概要 ==
[[easy_install]]で簡単にpythonのモジュールパッケージをインストールできます。
== インストール ==
=== FreeBSD ===
==== setuptools 3.4 ====
<syntaxhighlight lang="bash">
$ sudo pkg install py34-setuptools
</syntaxhighlight>
==== setuptools 3.3 ====
<syntaxhighlight lang="bash">
$ sudo pkg install py33-setuptools
</syntaxhighlight>
==== setuptools 3.2 ====
<syntaxhighlight lang="bash">
$ sudo pkg install py32-setuptools
</syntaxhighlight>
==== setuptools 2.7 ====
<syntaxhighlight lang="bash">
$ sudo pkg install py27-setuptools
</syntaxhighlight>
=== Ubuntu ===
<syntaxhighlight lang="bash">
$ sudo apt install python-setuptools
</syntaxhighlight>
== ソースコード ==
<syntaxhighlight lang="python">
</syntaxhighlight>
== 実行例 ==
=== コマンドラインオプション ===
<syntaxhighlight lang="bash">
Global options:
--verbose (-v) run verbosely (default)
--quiet (-q) run quietly (turns verbosity off)
--dry-run (-n) don't actually do anything
--help (-h) show detailed help message
--no-user-cfg ignore pydistutils.cfg in your home directory
Options for 'easy_install' command:
--prefix installation prefix
--zip-ok (-z) install package as a zipfile
--multi-version (-m) make apps have to require() a version
--upgrade (-U) force upgrade (searches PyPI for latest versions)
--install-dir (-d) install package to DIR
--script-dir (-s) install scripts to DIR
--exclude-scripts (-x) Don't install scripts
--always-copy (-a) Copy all needed packages to install dir
--index-url (-i) base URL of Python Package Index
--find-links (-f) additional URL(s) to search for packages
--build-directory (-b) download/extract/build in DIR; keep the results
--optimize (-O) also compile with optimization: -O1 for "python -
O", -O2 for "python -OO", and -O0 to disable
[default: -O0]
--record filename in which to record list of installed
files
--always-unzip (-Z) don't install as a zipfile, no matter what
--site-dirs (-S) list of directories where .pth files work
--editable (-e) Install specified packages in editable form
--no-deps (-N) don't install dependencies
--allow-hosts (-H) pattern(s) that hostnames must match
--local-snapshots-ok (-l) allow building eggs from local checkouts
--version print version information and exit
--no-find-links Don't load find-links defined in packages being
installed
--user install in user site-package
'/home/kaworu/.local/lib/python2.7/site-packages'
usage: easy_install [options] requirement_or_url ...
or: easy_install --help
</syntaxhighlight>
=== パッケージのインストール ===
<syntaxhighlight lang="bash">
$ sudo easy_install -U pip
</syntaxhighlight>
=== パッケージのアップデート ===
<syntaxhighlight lang="bash">
$ sudo easy_install --upgrade SomePackage
</syntaxhighlight>
== 関連項目 ==
* [[Pythonのパッケージ管理システム]]
* [[pip]]
<!-- vim: filetype=mediawiki
--></rev>
</revisions>
</page>
</pages>
</query>
</api>