Skip to main content

A cheeseshop clone (PyPI server) written in pyramid

Project description


Getting Started


$ virtualenv pyshop
$ cd pyshop
(pyshop)$ source bin/activate
(pyshop)$ pip install pyshop
(pyshop)$ cp development.ini pyshop.ini
(pyshop)$ pyshop_install pyshop.ini
(pyshop)$ pserve pyshop.ini start --log-file=pyshop.log

Then, visit the web application http://localhost:6543/ to check all is fine.

For production usage, you should create accounts with the "developer" group.
Visit http://localhost:6543/pyshop/user with the admin account to create
accounts. You also should use an https reverse proxy. Python packaging
core use basic authentication: it send user/password in clear.

Configuring your environment to use that new pyshop

Here is all configuration files for usual python tools you have to
edit for simplify the usage of pyshop.


Configuration used by pip


# when mirroring a package,
# pyshop retrieve informations from PyPI and
# store them in its DB.
# Be patient, it is not so long.
default-timeout = 60
timeout = 60
index-url = http://pip:changeme@localhost:6543/simple/


Configuration used by setuptools to upload package


index-servers =

username: admin # or create an account in pyshop admin interface
password: changeme
repository: http://localhost:6543/simple/



index-url = http://pip:changeme@localhost:6543/simple/

Uploading a file to your pyshop

python sdist upload -v -r pyshop


- The setting ``pyshop.satanize.reg`` has been renamed
to ``pyshop.satanize.regex``
- The setting ``cookie_key`` has been renamed to ``pyshop.cookie_key``
- Fix bug on package upload. don't close the stream while writing it.
- Add basic tests on packages view


Packaging Issue.


Initial version.

- work with pip, setuptools
- mirror packages
- upload packages
- secure access with login/password
- create/update accounts
- tests for python 2.7 only
- compatible with python 2.6

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyshop, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size pyshop-0.3.tar.gz (725.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page