API for uploading packages to PyPI

anatoly techtonik <[email protected]> Fri, 22 Mar 2013 10:37:18 +0300
Newsgroups gmane.comp.python.catalog
Message-ID <CAPkN8xKt9-VdwLd-JMV6FaxMib2PGCYd9reEn2N=rU8k+ut_Sg@mail.gmail.com>
--===============0406495500==
Content-Type: multipart/alternative; boundary=047d7b5d946b91382104d87e8766

--047d7b5d946b91382104d87e8766
Content-Type: text/plain; charset=UTF-8

Hi,

I understand that this will make PyPI a potential target for automated spam
bots, but still it will be awesome to have an API to upload packages to
PyPI.

For example, I have a code that extract all necessary meta data for the
package from the source file itself. It is even able to generate setup.py
from this data. https://bitbucket.org/techtonik/astdump The next logical
step in this chain is to teach it to upload stuff to PyPI.

Now I thought that this setup.py is an unnecessary complication. What I
need, ideally is just upload single .py file, or a JSON and a .tar.gz FWIW.
Is there a straightforward API for things like that?

Please, CC.
-- 
anatoly t.

--047d7b5d946b91382104d87e8766
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div style>I understand that this will m=
ake PyPI a potential target for automated spam bots, but still it will be a=
wesome to have an API to upload packages to PyPI.</div><div style><br></div=
>

<div style>For example, I have a code that extract all necessary meta data =
for the package from the source file itself. It is even able to generate se=
tup.py from this data.=C2=A0<a href=3D"https://bitbucket.org/techtonik/astd=
ump">https://bitbucket.org/techtonik/astdump</a>=C2=A0The next logical step=
 in this chain is to teach it to upload stuff to PyPI.</div>

<div style><br></div><div style>Now I thought that this setup.py is an unne=
cessary complication. What I need, ideally is just upload single .py file, =
or a JSON and a .tar.gz FWIW. Is there a straightforward API for things lik=
e that?=C2=A0</div>

<div><br></div><div>Please, CC.<br clear=3D"all"><div>-- <br>anatoly t.</di=
v>
</div></div>

--047d7b5d946b91382104d87e8766--

--===============0406495500==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Catalog-SIG mailing list
[email protected]
http://mail.python.org/mailman/listinfo/catalog-sig

--===============0406495500==--