Source

pypi / templates / home.pt

Full commit
<?xml version="1.0" encoding="utf-8"?>
<!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"
    xmlns:tal="http://xml.zope.org/namespaces/tal"
    xmlns:metal="http://xml.zope.org/namespaces/metal"
    metal:use-macro="standard_template/macros/page">
<metal:fill fill-slot="body">
<p>The Python Package Index is a repository of software for the Python
programming language. There are currently
<strong tal:content="app/store/count_packages">12343</strong>
packages here.
<br />
To contact the PyPI admins, please use the
<a href="http://sourceforge.net/tracker/?group_id=66150&amp;atid=513504">Support</a>
or
<a href="http://sourceforge.net/tracker/?group_id=66150&amp;atid=513503">Bug reports</a>
links.
</p>

<div id="document-navigation" style="margin-left: 0px; width: 50%; float: left; display: inline; padding: 4px;">
<b>Package documentation is now at pythonhosted.org</b>
<p style="margin-bottom: 0px">
Package documentation is hosted on its own domain,
<b>pythonhosted.org</b> (it was at packages.python.org and that domain will
still work and automatically redirect to the new documentation home.)
</p>
</div>

<br clear="both" />

<div id="document-navigation" style="margin-left: 0px; width: 30%; float: left; display: inline; padding: 4px;">
<b>Get Packages</b>
<p style="margin-bottom: 0px">
To use a package from this index either
"<a href="http://www.pip-installer.org/en/latest/installing.html">pip</a> install <i>package</i>"
(<a href="http://www.pip-installer.org/en/latest/installing.html">get pip</a>)
or download, unpack and "python setup.py install" it.
<a tal:attributes="href string:${app/config/url}?%3Aaction=browse">Browse all packages</a>
or use the search box above.
</p>

<!--
  <form id="searchform" method="get" name="searchform" action="./files/page.html"
        style="margin-top: 0px; margin-left: 2px; margin-bottom: 4px;">
    <input type="hidden" name=":action" value="search">
    <div id="search">
      <input class="input-text" id="term" name="term" style="width: 70%">
      <input class="input-button" type="submit" name="submit" value="search" id="submit">
    </div>
  </form>
-->
</div>

<div id="document-navigation" style="width: 30%; float: left; display: inline; padding: 4px;">
<b>Package Authors</b>
<p style="margin-bottom: 0px">
Submit packages with
"<a href="http://wiki.python.org/moin/CheeseShopTutorial" class="vt-p">python setup.py upload</a>"
(full <a href="http://wiki.python.org/moin/CheeseShopTutorial">tutorial</a>).
The index also <a href="http://wiki.python.org/moin/PyPiHostingDocumentation">hosts package docs</a>.
You may also use
<a href="/pypi/pypissh">SSH</a> or the
<a tal:attributes="href string:${app/config/url}?%3Aaction=submit_form">web form</a>.
You must <a tal:attributes="href string:${app/config/url}?%3Aaction=register_form">register</a>.
Testing? Use <a href="http://wiki.python.org/moin/TestPyPI" class="vt-p">testpypi</a>.
</p>
</div>

<div id="document-navigation" style="margin-right: 0px; width: 30%; float: left; display: inline; padding: 4px;">
<b>Infrastructure</b>
<p style="margin-bottom: 0px">
To interoperate with the index
use the
<a href="http://wiki.python.org/moin/PyPiJson">JSON</a>,
<a href="http://wiki.python.org/moin/PyPiOauth">OAuth</a>,
<a href="http://wiki.python.org/moin/PyPiXmlRpc">XML-RPC</a> or
<a href="http://www.python.org/dev/peps/pep-0301/">HTTP</a>
interfaces.
Use the <a href="http://pypi.python.org/mirrors" class="vt-p">mirror infrastructure</a> to download even if the primary site is unavailable.
</p>
</div>

<br clear="both" />

<table class="list">
<tr><th>Updated</th><th>Package</th><th>Description</th></tr>

<tal:for-release repeat="release app/store/latest_releases">
<tal:let define="name python: release[0];
 version python: release[1];
 date python: release[2];
 summary python: release[3]">

<tr tal:attributes="class repeat/release/parity">
 <td tal:content="python:date.strftime('%Y-%m-%d')" style="white-space: nowrap; text-align: center;">date</td>
 <td tal:content="structure python: app.packageLink(name, version)">link</td>
 <td tal:content="summary">summary</td>
</tr>

</tal:let>
</tal:for-release>

<tr><td id="last" colspan="3"></td></tr>
</table>

<p>And now for something completely different...</p>
<p style="padding-left: 2em">
<strong>Customer</strong>: Now then, some cheese please, my good man.
<br />
<strong>Owner</strong>: (lustily) Certainly, sir. What would you like?
<br />
<strong>Customer</strong>: Well, eh, how about a little red Leicester.
<br />
<strong>Owner</strong>: I'm, a-fraid we're fresh out of red Leicester, sir.
</p>

</metal:fill>
</html>