summaryrefslogtreecommitdiff
path: root/templates/home.pt
blob: fbd23a7dc69577ab2d23ccaa04d7ee28eb3c81fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?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="https://bitbucket.org/pypa/pypi/issues">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://docs.python.org/3/distutils/packageindex.html" class="vt-p">python setup.py upload</a>"
(full <a href="http://docs.python.org/3/distutils/packageindex.html">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>