| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/local/share/doc/py36-pip/reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pip list — pip 19.1.1 documentation</title>
<link rel="stylesheet" href="../_static/pypa.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '19.1.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/sidebar.js"></script>
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="pip show" href="pip_show.html" />
<link rel="prev" title="pip freeze" href="pip_freeze.html" />
<link rel="shortcut icon" type="image/png" href="../_static/py.png" />
<script type="text/javascript" src="../_static/copybutton.js"></script>
</head>
<body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="pip_show.html" title="pip show"
accesskey="N">next</a></li>
<li class="right" >
<a href="pip_freeze.html" title="pip freeze"
accesskey="P">previous</a> |</li>
<li><img src="../_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="https://pypa.io">PyPA</a> »</li>
<a href="../index.html">pip 19.1.1 documentation</a> »
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">Reference Guide</a> »</li>
<li class="right">
<div class="inline-search" style="display: none" role="search">
<form class="inline-search" action="../search.html" method="get">
<input placeholder="Quick search" type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('.inline-search').show(0);</script>
|
</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="pip-list">
<span id="id1"></span><h1><a class="toc-backref" href="#id2">pip list</a><a class="headerlink" href="#pip-list" title="Permalink to this headline">¶</a></h1>
<div class="contents topic" id="contents">
<p class="topic-title first">Contents</p>
<ul class="simple">
<li><a class="reference internal" href="#pip-list" id="id2">pip list</a><ul>
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
<li><a class="reference internal" href="#description" id="id4">Description</a></li>
<li><a class="reference internal" href="#options" id="id5">Options</a></li>
<li><a class="reference internal" href="#examples" id="id6">Examples</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="usage">
<h2><a class="toc-backref" href="#id3">Usage</a><a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="nb">list</span> <span class="p">[</span><span class="n">options</span><span class="p">]</span>
</pre></div>
</div>
</div>
<div class="section" id="description">
<h2><a class="toc-backref" href="#id4">Description</a><a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p><p>List installed packages, including editables.</p>
<p>Packages are listed in a case-insensitive sorted order.</p>
</p>
</div>
<div class="section" id="options">
<h2><a class="toc-backref" href="#id5">Options</a><a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
<p><span class="target" id="list-outdated"></span><dl class="option">
<dt id="cmdoption-o">
<code class="descname">-o</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--outdated</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-o" title="Permalink to this definition">¶</a></dt>
<dd><p>List outdated packages</p>
</dd></dl>
<span class="target" id="list-uptodate"></span><dl class="option">
<dt id="cmdoption-u">
<code class="descname">-u</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--uptodate</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-u" title="Permalink to this definition">¶</a></dt>
<dd><p>List uptodate packages</p>
</dd></dl>
<span class="target" id="list-editable"></span><dl class="option">
<dt id="cmdoption-e">
<code class="descname">-e</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--editable</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-e" title="Permalink to this definition">¶</a></dt>
<dd><p>List editable projects.</p>
</dd></dl>
<span class="target" id="list-local"></span><dl class="option">
<dt id="cmdoption-l">
<code class="descname">-l</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--local</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-l" title="Permalink to this definition">¶</a></dt>
<dd><p>If in a virtualenv that has global access, do not list globally-installed packages.</p>
</dd></dl>
<span class="target" id="list-user"></span><dl class="option">
<dt id="cmdoption-user">
<code class="descname">--user</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-user" title="Permalink to this definition">¶</a></dt>
<dd><p>Only output packages installed in user-site.</p>
</dd></dl>
<span class="target" id="list-pre"></span><dl class="option">
<dt id="cmdoption-pre">
<code class="descname">--pre</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-pre" title="Permalink to this definition">¶</a></dt>
<dd><p>Include pre-release and development versions. By default, pip only finds stable versions.</p>
</dd></dl>
<span class="target" id="list-format"></span><dl class="option">
<dt id="cmdoption-format">
<code class="descname">--format</code><code class="descclassname"> <list_format></code><a class="headerlink" href="#cmdoption-format" title="Permalink to this definition">¶</a></dt>
<dd><p>Select the output format among: columns (default), freeze, or json</p>
</dd></dl>
<span class="target" id="list-not-required"></span><dl class="option">
<dt id="cmdoption-not-required">
<code class="descname">--not-required</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-not-required" title="Permalink to this definition">¶</a></dt>
<dd><p>List packages that are not dependencies of installed packages.</p>
</dd></dl>
<span class="target" id="list-exclude-editable"></span><dl class="option">
<dt id="cmdoption-exclude-editable">
<code class="descname">--exclude-editable</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-exclude-editable" title="Permalink to this definition">¶</a></dt>
<dd><p>Exclude editable package from output.</p>
</dd></dl>
<span class="target" id="list-include-editable"></span><dl class="option">
<dt id="cmdoption-include-editable">
<code class="descname">--include-editable</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-include-editable" title="Permalink to this definition">¶</a></dt>
<dd><p>Include editable package from output.</p>
</dd></dl>
</p>
<p><span class="target" id="index-url"></span><dl class="option">
<dt id="cmdoption-i">
<code class="descname">-i</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--index-url</code><code class="descclassname"> <url></code><a class="headerlink" href="#cmdoption-i" title="Permalink to this definition">¶</a></dt>
<dd><p>Base URL of Python Package Index (default <a class="reference external" href="https://pypi.org/simple">https://pypi.org/simple</a>). This should point to a repository compliant with PEP 503 (the simple repository API) or a local directory laid out in the same format.</p>
</dd></dl>
<span class="target" id="extra-index-url"></span><dl class="option">
<dt id="cmdoption-extra-index-url">
<code class="descname">--extra-index-url</code><code class="descclassname"> <url></code><a class="headerlink" href="#cmdoption-extra-index-url" title="Permalink to this definition">¶</a></dt>
<dd><p>Extra URLs of package indexes to use in addition to –index-url. Should follow the same rules as –index-url.</p>
</dd></dl>
<span class="target" id="no-index"></span><dl class="option">
<dt id="cmdoption-no-index">
<code class="descname">--no-index</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-no-index" title="Permalink to this definition">¶</a></dt>
<dd><p>Ignore package index (only looking at –find-links URLs instead).</p>
</dd></dl>
<span class="target" id="find-links"></span><dl class="option">
<dt id="cmdoption-f">
<code class="descname">-f</code><code class="descclassname"></code><code class="descclassname">, </code><code class="descname">--find-links</code><code class="descclassname"> <url></code><a class="headerlink" href="#cmdoption-f" title="Permalink to this definition">¶</a></dt>
<dd><p>If a url or path to an html file, then parse for links to archives. If a local path or <a class="reference external" href="file://">file://</a> url that’s a directory, then look for archives in the directory listing.</p>
</dd></dl>
</p>
</div>
<div class="section" id="examples">
<h2><a class="toc-backref" href="#id6">Examples</a><a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
<ol class="arabic">
<li><p class="first">List installed packages.</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list
docutils (0.10)
Jinja2 (2.7.2)
MarkupSafe (0.18)
Pygments (1.6)
Sphinx (1.2.1)
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">List outdated packages (excluding editables), and the latest version available.</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list --outdated
docutils (Current: 0.10 Latest: 0.11)
Sphinx (Current: 1.2.1 Latest: 1.2.2)
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">List installed packages with column formatting.</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list --format columns
Package Version
------- -------
docopt 0.6.2
idlex 1.13
jedi 0.9.0
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">List outdated packages with column formatting.</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list -o --format columns
Package Version Latest Type
---------- ------- ------ -----
retry 0.8.1 0.9.1 wheel
setuptools 20.6.7 21.0.0 wheel
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">List packages that are not dependencies of other packages. Can be combined with
other options.</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list --outdated --not-required
docutils (Current: 0.10 Latest: 0.11)
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">Use legacy formatting</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list --format=legacy
colorama (0.3.7)
docopt (0.6.2)
idlex (1.13)
jedi (0.9.0)
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">Use json formatting</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list --format=json
[{'name': 'colorama', 'version': '0.3.7'}, {'name': 'docopt', 'version': '0.6.2'}, ...
</pre></div>
</div>
</div></blockquote>
</li>
<li><p class="first">Use freeze formatting</p>
<blockquote>
<div><div class="highlight-default"><div class="highlight"><pre><span></span>$ pip list --format=freeze
colorama==0.3.7
docopt==0.6.2
idlex==1.13
jedi==0.9.0
</pre></div>
</div>
</div></blockquote>
</li>
</ol>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="../index.html">Table Of Contents</a></h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../quickstart.html">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="../installing.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../user_guide.html">User Guide</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Reference Guide</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="pip.html">pip</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_install.html">pip install</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_download.html">pip download</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_uninstall.html">pip uninstall</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_freeze.html">pip freeze</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">pip list</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#usage">Usage</a></li>
<li class="toctree-l3"><a class="reference internal" href="#description">Description</a></li>
<li class="toctree-l3"><a class="reference internal" href="#options">Options</a></li>
<li class="toctree-l3"><a class="reference internal" href="#examples">Examples</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pip_show.html">pip show</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_search.html">pip search</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_check.html">pip check</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_config.html">pip config</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_wheel.html">pip wheel</a></li>
<li class="toctree-l2"><a class="reference internal" href="pip_hash.html">pip hash</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../development/index.html">Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="../news.html">Release Notes</a></li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="pip_freeze.html"
title="previous chapter">pip freeze</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="pip_show.html"
title="next chapter">pip show</a></p>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="pip_show.html" title="pip show"
>next</a></li>
<li class="right" >
<a href="pip_freeze.html" title="pip freeze"
>previous</a> |</li>
<li><img src="../_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="https://pypa.io">PyPA</a> »</li>
<a href="../index.html">pip 19.1.1 documentation</a> »
<li class="nav-item nav-item-1"><a href="index.html" >Reference Guide</a> »</li>
<li class="right">
<div class="inline-search" style="display: none" role="search">
<form class="inline-search" action="../search.html" method="get">
<input placeholder="Quick search" type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('.inline-search').show(0);</script>
|
</li>
</ul>
</div>
<div class="footer">
© <a href="../copyright.html">Copyright</a> 2008-2017, PyPA.
<br />
The Python Software Foundation is a non-profit corporation.
<a href="https://www.python.org/psf/donations/">Please donate.</a>
<br />
<br />
Last updated on Nov 14, 2019.
<a href="https://github.com/pypa/pip/issues">Found a bug</a>?
<br />
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.6.5.
</div>
</body>
</html>