pypi

Total Downloads of Module Missing on PyPi

不想你离开。 提交于 2019-11-30 20:27:10
Up until recently, it was possible to see how many times a python module indexed on https://pypi.python.org/pypi had been downloaded (each module listed downloads for the past 24hrs, week and month). Now that information seems to be missing. Download numbers are very helpful information when evaluating whether to build code off of one module or another. They also seem to be referenced by sites such as https://img.shields.io/ Does anyone know what happened? And/or, where I can view/retrieve that information? This email from Donald Stufft (PyPI maintainer) from distutils mailing list says: Just

Check if requirements are up to date

自古美人都是妖i 提交于 2019-11-30 12:24:11
问题 I'm using pip requirements files for keeping my dependency list. I also try to follow best practices for managing dependencies and provide precise package versions inside the requirements file. For example: Django==1.5.1 lxml==3.0 The question is: Is there a way to tell that there are any newer package versions available in the Python Package Index for packages listed inside requirements.txt ? For this particular example, currently latest available versions are 1.6.2 and 3.3.4 for Django and

Specifying optional dependencies in pypi python setup.py

戏子无情 提交于 2019-11-30 10:54:06
How do I specify optional dependencies in python's setup.py ? Here's my stab at specifying an optional dependency for an open source library of mine but it doesn't seem to do much. https://github.com/od-eon/django-cherrypy/blob/master/setup.py Specifically extra_requires in this snippet: setup( name='django-cherrypy', version='0.1', packages=packages, license='LICENSE', description='cherrypy, running under django', long_description=open('README.md').read(), author='Calvin Cheng', author_email='calvin@calvinx.com', install_requires=['cherrypy-wsgiserver'], extra_requires=['newrelic'], url=

Using an extra python package index url with setup.py

爱⌒轻易说出口 提交于 2019-11-30 07:59:46
Is there a way to use an extra python package index (ala pip --extra-index-url pypi.example.org mypackage ) with setup.py so that running python setup.py install can find the packages hosted on pypi.example.org ? Heston Liebowitz If you're the package maintainer, and you want to host one or more dependencies for your package somewhere other than PyPi, you can use the dependency_links option of setuptools in your distribution's setup.py file. This allows you to provide an explicit location where your package can be located. For example: from setuptools import setup setup( name='somepackage',

PIP Could not find any downloads that satisfy the requirement SQLAlchemy

≡放荡痞女 提交于 2019-11-30 06:55:44
问题 Ubuntu 12.04 Apache 2.2.22 pip has stopped working on my ubuntu server and gives the below error when I try to download anything. $ sudo pip install SQLAlchemy Downloading/unpacking SQLAlchemy Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement SQLAlchemy No distributions at all found for SQLAlchemy Storing complete log in /home/user/.pip/pip.log All of the below also do not work $ sudo pip install --upgrade pip $ sudo apt-get

Check if requirements are up to date

烂漫一生 提交于 2019-11-30 02:40:04
I'm using pip requirements files for keeping my dependency list. I also try to follow best practices for managing dependencies and provide precise package versions inside the requirements file. For example: Django==1.5.1 lxml==3.0 The question is: Is there a way to tell that there are any newer package versions available in the Python Package Index for packages listed inside requirements.txt ? For this particular example, currently latest available versions are 1.6.2 and 3.3.4 for Django and lxml respectively. I've tried pip install --upgrade -r requirements.txt , but it says that all is up-to

pip requirements.txt with alternative index

眉间皱痕 提交于 2019-11-30 01:59:58
I want to put all the requirements of a repoze Zope2 install in a pip requirements file . Most of the repoze packages don't seem to be on PyPi, but there's an alternative PyPi index for them here . But I can't figure out how to tell pip to use that index together with a requirements file. For single packages, it's easy pip install zopelib -i http://dist.repoze.org/zope2/2.10/simple/ I tried the following pip install -r requirements.txt -i http://dist.repoze.org/zope2/2.10/simple/ or in my requirements.txt all kind or permutations of these: zopelib -i http://dist.repoze.org/zope2/2.10/simple/

PyPi issues - Upload failed (401): You must be identified to edit package information [duplicate]

冷暖自知 提交于 2019-11-30 01:43:54
This question already has an answer here: “setup.py upload” is failing with “Upload failed (401): You must be identified to edit package information” 7 answers Im encountering a problem with pypi similar to this one, except that I'm running windows and the mentioned solution page is down. Does anyone know how to work around this? I'm using python 2.5. python setup.py sdist register upload running register We need to know who you are, so please choose either: 1. use your existing login, 2. register as a new user, 3. have the server generate a new password for you (and email it to you), or 4.

My rst README is not formatted on pypi.python.org

旧巷老猫 提交于 2019-11-29 21:16:05
When I submit my package to the Python Package Index ( https://pypi.python.org/pypi ) my README file, which is written with valid reStructuredText and saved as README.rst, is displayed as plain text without any formatting. I have run it through validators (rstctl and collective.checkdocs) and no errors are returned. My package is at: https://pypi.python.org/pypi/lcinvestor It's in github at: https://github.com/jgillick/LendingClubAutoInvestor It turns out that the answer from @sigmavirus regarding the links was close. I started a discussion on the distutils mailing list and found out that in

pypi see older versions of package

こ雲淡風輕ζ 提交于 2019-11-29 21:11:44
This is the package I'm interested in : https://pypi.python.org/pypi/django-filebrowser-no-grappelli/ However the latest version no longer supports Django 1.3. I need to find a version that does. How do I see list of older versions ? It's perhaps a little inelegant, but it appears that you can go to the URL https://pypi.python.org/simple/<package> And you will get a bunch of links to tarballs for the package. Ex: https://pypi.python.org/simple/django-filebrowser-no-grappelli/ This is visible in the new UI for pypi: https://pypi.org/project/<package>/#history For example: https://pypi.org