Re: API for uploading packages to PyPI

Ronald Oussoren <[email protected]> Fri, 22 Mar 2013 09:16:34 +0100
Newsgroups gmane.comp.python.catalog
Message-ID <[email protected]>
--===============1253579499==
Content-Type: multipart/alternative; boundary="Apple-Mail=_B8BC63A3-8C9D-4600-A53F-9D346BAA1C01"


--Apple-Mail=_B8BC63A3-8C9D-4600-A53F-9D346BAA1C01
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 22 Mar, 2013, at 8:37, anatoly techtonik <[email protected]> wrote:

> Hi,
>=20
> 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.
>=20
> 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.
>=20
> 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?=20

Several APIs are documented on pages linked directly from the PyPI =
homepage (the Infrastructure box)

Ronald
>=20
> Please, CC.
> --=20
> anatoly t.
> _______________________________________________
> Catalog-SIG mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/catalog-sig


--Apple-Mail=_B8BC63A3-8C9D-4600-A53F-9D346BAA1C01
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 22 Mar, 2013, at 8:37, anatoly techtonik &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div style="">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.</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 setup.py from this data.&nbsp;<a href="https://bitbucket.org/techtonik/astdump">https://bitbucket.org/techtonik/astdump</a>&nbsp;The 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 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?&nbsp;</div></div></blockquote><div><br></div>Several APIs are documented on pages linked directly from the PyPI homepage (the Infrastructure box)</div><div><br></div><div>Ronald<br><blockquote type="cite"><div dir="ltr">

<div><br></div><div>Please, CC.<br clear="all"><div>-- <br>anatoly t.</div>
</div></div>
_______________________________________________<br>Catalog-SIG mailing list<br><a href="mailto:[email protected]">[email protected]</a><br>http://mail.python.org/mailman/listinfo/catalog-sig<br></blockquote></div><br></body></html>
--Apple-Mail=_B8BC63A3-8C9D-4600-A53F-9D346BAA1C01--

--===============1253579499==
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

--===============1253579499==--