[Catalog-sig] API for uploading packages to PyPI
M.-A. Lemburg
mal at egenix.com
Fri Mar 22 11:01:43 CET 2013
On 22.03.2013 09:58, anatoly techtonik wrote:
> On Fri, Mar 22, 2013 at 11:16 AM, Ronald Oussoren <ronaldoussoren at mac.com>wrote:
>
>>
>> On 22 Mar, 2013, at 8:37, anatoly techtonik <techtonik at gmail.com> wrote:
>>
>> 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?
Yes: The distutils upload command implements the API. It essentially
uses the same HTML form interface as the PyPI UI.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Mar 22 2013)
>>> Python Projects, Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
2013-03-13: Released eGenix pyOpenSSL 0.13 ... http://egenix.com/go39
::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Catalog-SIG
mailing list