Questions tagged [pypi]

The Python Package Index (PyPI) is a repository of software for the Python programming language. Do not confuse with PyPy, the language implementation.

The Python Package Index (PyPI), occasionally known as the Cheese Shop, is a repository of software for the Python programming language. Pronounced "Pie Pee Eye".

Described in PEP 301, it was inspired by similar facilities for other languages, such as Perl's CPAN. It aims to be a comprehensive catalogue of third-party Python packages, and hosts over 30,000 such packages.

Related tags:

1780 questions
52
votes
3 answers

How can I host my own private conda repository?

I have a few python projects that are dependent on each other. I have different release versions for each project and different projects might be dependent on different release versions of a particular project. I would like to create my own conda…
Nefarious
  • 975
  • 2
  • 8
  • 10
50
votes
9 answers

How to roll my own pypi?

I would like to run my own internal pypi server, for egg distribution within my organization. I have found a few projects, such as: http://pypi.python.org/pypi/EggBasket/ http://plone.org/products/plonesoftwarecenter As I understand it,…
drue
  • 4,863
  • 6
  • 22
  • 14
49
votes
1 answer

Why was PyPI called the cheese shop?

I was running through the tutorials to build a Python distro package yesterday and the PyPI site kept on being calling the Cheese Shop. Why is that?
MattoTodd
  • 14,467
  • 16
  • 59
  • 76
48
votes
1 answer

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

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…
Thierry
  • 3,225
  • 1
  • 26
  • 26
48
votes
5 answers

Install py2exe for python 2.7 over pip: this package requires Python 3.3 or later

>>> python -c "import sys; print sys.version" 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] >>> pip --version pip 1.5.5 from C:\Python27\lib\site-packages (python 2.7) >>> pip install py2exe RuntimeError:…
Bruno Gelb
  • 5,322
  • 8
  • 35
  • 50
47
votes
5 answers

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

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…
Jeremy Gillick
  • 2,560
  • 3
  • 27
  • 35
47
votes
2 answers

Given the name of a Python package, what is the name of the module to import?

Does somebody know the logic behind Python modules names vs the name of the actual package used in easy_install? A few (amongst others) example that seem a bit unlogical to me: We do easy_install mysql-python, but the import is in fact import…
Gerard Yin
  • 1,283
  • 1
  • 12
  • 24
46
votes
5 answers

how to create local own pypi repository index without mirror?

We have several own python packages and want to create local pypi repository for them using simple interface like https://pypi.python.org/simple/ This repository I want to create for local only without any mirrors due to security reason, and it will…
Larry Cai
  • 55,923
  • 34
  • 110
  • 156
45
votes
4 answers

Permission denied to github-actions[bot]

I'm using mkdocs to generate documents for my project,now I can't deploy those docs to Github pages,it tell me: remote: Permission to XXX.git denied to github-actions[bot]. fatal: unable to access 'XXX': The requested URL returned error: 403 This…
forestbat
  • 453
  • 4
  • 10
44
votes
7 answers

How can you bundle all your python code into a single zip file?

It would be convenient when distributing applications to combine all of the eggs into a single zip file so that all you need to distribute is a single zip file and an executable (some custom binary that simply starts, loads the zip file's main…
Doug
  • 32,844
  • 38
  • 166
  • 222
44
votes
5 answers

PyPI is slow. How do I run my own server?

When a new developer joins the team, or Jenkins runs a complete build, I need to create a fresh virtualenv. I often find that setting up a virtualenv with Pip and a large number (more than 10) of requirements takes a very long time to install…
Wilfred Hughes
  • 29,846
  • 15
  • 139
  • 192
44
votes
1 answer

Specifying optional dependencies in pypi python setup.py

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…
Calvin Cheng
  • 35,640
  • 39
  • 116
  • 167
42
votes
1 answer

Using hyphen/dash in python repository name and package name

I am trying to make my git repository pip-installable. In preparation for that I am restructuring the repo to follow the right conventions. My understanding from looking at other repositories is that I should put all my source code in a package that…
DataMan
  • 3,115
  • 6
  • 21
  • 36
42
votes
2 answers

How to overwrite pypi package when doing upload from command line?

I want to automate the upload process bug in some cases the python setup.py upload fails because pypi server already have the save version uploaded. How can I force it to upload, from the script (i know I can remove the old variant using the web…
sorin
  • 161,544
  • 178
  • 535
  • 806
40
votes
5 answers

How do I add images to a PyPI readme (that works on GitHub)?

In my readme on GitHub I have several images that are present there in my project's source tree which I reference successfully with directives like .. image:: ./doc/source/_static/figs/moon_probe.png I would also like to have these images appear…
orome
  • 45,163
  • 57
  • 202
  • 418