Skip to main content
Help us improve Python packaging – donate today!

A cheeseshop clone (PyPI server) written in pyramid

Project Description

pyshop
======

Get your private cheeseshop running.


Getting Started
---------------

::

$ virtualenv pyshop
$ cd pyshop
(pyshop)$ source bin/activate
(pyshop)$ pip install pyshop
(pyshop)$ cp pyshop.sample.ini pyshop.ini
(pyshop)$ vim pyshop.ini # change the pyshop.cookie_key setting
(pyshop)$ pyshop_install pyshop.ini
(pyshop)$ pserve pyshop.ini start --log-file=pyshop.log

You shoud edit the pyshop.ini file in order to configure the pyshop.cookie_key,
the host:port that host the service, ...
When the pyshop is running visit the web application,
http://localhost:8000/ by default, 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.


~/.pip/pip.conf
~~~~~~~~~~~~~~~

Configuration used by pip

::

[global]
# 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
[install]
index-url = http://pip:changeme@localhost:6543/simple/


~/.pypirc
~~~~~~~~~

Configuration used by setuptools to upload package

::

[distutils]
index-servers =
pyshop

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


setup.cfg
~~~~~~~~~

::

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


Uploading a file to your pyshop
-------------------------------

python setup.py sdist upload -v -r pyshop



0.7.2
-----
- Remove unused certificates for pypi validation

0.7.1
-----
- Securize download from pypi by forcing https and validate certificate
pypi.python.org certificate chain is embed in the pyshop package
- Fix package order on web page


0.7
---

- Satanize version number on upload.
This is configurable with settings ``pyshop.upload.satanize``
and ``pyshop.upload.satanize.regex``
- Settings ``pyshop.satanize`` and ``pyshop.satanize.regex`` have been renamed
to ``pyshop.mirror.satanize`` and ``pyshop.mirror.satanize.regex``


0.6
---

- Fix first connection of the web application
- Fix the usage of http proxy (forcing request version)


0.5
---

- Add Link to display all release versions
- Improve navigation
- Fix ugly version number sorting


0.4
---

- Fix release file upgrade (allow developper to override release file)
- Rename user views to account
- Add view to let the connected user to update his account


0.3
---

- 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


0.2
---

Packaging Issue.


0.1
---

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

Release history Release notifications

History Node

1.3.0

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.1

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0

History Node

0.9.12

History Node

0.9.11

History Node

0.9.10

History Node

0.9.8

History Node

0.9.7

History Node

0.9.6

History Node

0.9.5

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9

History Node

0.8

History Node

0.7.6

History Node

0.7.5

History Node

0.7.4

History Node

0.7.3

This version
History Node

0.7.2

History Node

0.7.1

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyshop-0.7.2.tar.gz (139.3 kB) Copy SHA256 hash SHA256 Source None Feb 6, 2013

Supported by

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