Skip to main content

Private PyPI backed by S3

Project description

PyPI Cloud
==========
:Build: |build|_ |coverage|_
:Documentation: http://pypicloud.readthedocs.org/
:Downloads: http://pypi.python.org/pypi/pypicloud
:Source: https://github.com/mathcamp/pypicloud

.. |build| image:: https://travis-ci.org/mathcamp/pypicloud.png?branch=master
.. _build: https://travis-ci.org/mathcamp/pypicloud
.. |coverage| image:: https://coveralls.io/repos/mathcamp/pypicloud/badge.png?branch=master
.. _coverage: https://coveralls.io/r/mathcamp/pypicloud?branch=master

This package is a Pyramid app that runs a simple PyPI server where all the
packages are stored on Amazon's Simple Storage Service (S3).

`LIVE DEMO <http://pypi.stevearc.com>`_

Quick Start
===========
For more detailed step-by-step instructions, check out the `getting started
<http://pypicloud.readthedocs.org/en/latest/topics/getting_started.html>`_
section of the docs.

::

virtualenv mypypi
source mypypi/bin/activate
pip install pypicloud[server]
pypicloud-make-config -t server.ini
pserve server.ini

It's running! Go to http://localhost:6543/ to view the web interface.

Docker
------
There is a docker image if you're into that sort of thing. You can find it at:
https://github.com/stevearc/pypicloud-docker


Changelog
=========
If you are upgrading an existing installation, read the instructions

0.4.0 - 2016/5/16
-----------------
**Backwards incompatibility**: This version was released to handle a change in
the way pip 8.1.2 handles package names. If you are upgrading from a previous
version, there are :ref:`detailed instructions for how to upgrade safely
<upgrade0.4>`.

0.3.12 - 2016/5/5
-----------------
* Feature: Setting ``auth.ldap.service_account`` for LDAP auth

0.3.11 - 2016/4/28
------------------
* Bug fix: Missing newline in config template
* Feature: ``pypi.always_show_upstream`` for tweaking fallback behavior

0.3.10 - 2016/3/21
------------------
* Feature: S3 backend setting ``storage.redirect_urls``

0.3.9 - 2016/3/13
-----------------
* Bug fix: SQL cache works with MySQL
* Feature: S3 backend can use S3-compatible APIs

0.3.8 - 2016/3/10
-----------------
* Feature: Cloudfront storage
* Bug fix: Rebuilding cache from storage won't crash on odd file names

0.3.7 - 2016/1/12
-----------------
* Feature: ``/packages`` endpoint to list all files for all packages

0.3.6 - 2015/12/3
-----------------
* Bug fix: Settings parsed incorrectly for LDAP auth

0.3.5 - 2015/11/15
------------------
* Bug fix: Mirror mode: only one package per version is displayed

0.3.4 - 2015/8/30
-----------------
* Add docker-specific option for config creation
* Move docker config files to a separate repository

0.3.3 - 2015/7/17
-----------------
* Feature: LDAP Support
* Bug fix: Incorrect package name/version when uploading from web

0.3.2 - 2015/7/7
----------------
* Bug fix: Restore direct links to S3 to fix easy_install

0.3.1 - 2015/6/18
-----------------
* Bug fix: ``pypi.allow_overwrite`` causes crash in sql cache

0.3.0 - 2015/6/16
-----------------
* Fully defines the behavior of every possible type of pip request. See Fallbacks for more detail.
* Don't bother caching generated S3 urls.

0.2.13 - 2015/5/27
------------------
* Bug fix: Crash when mirror mode serves private packages

0.2.12 - 2015/5/14
------------------
* Bug fix: Mirror mode works properly with S3 storage backend

0.2.11 - 2015/5/11
------------------
* Bug fix: Cache mode will correctly download packages with legacy versioning
* Bug fix: Fix the fetch_requirements endpoint
* Bug fix: Incorrect expire time comparison with IAM roles
* Feature: 'mirror' mode. Caches packages, but lists all available upstream versions.

0.2.10 - 2015/2/27
------------------
* Bug fix: S3 download links expire incorrectly with IAM roles
* Bug fix: ``fallback = cache`` crashes with distlib 0.2.0

0.2.9 - 2014/12/14
------------------
* Bug fix: Connection problems with new S3 regions
* Usability: Warn users trying to log in over http when ``session.secure = true``

0.2.8 - 2014/11/11
------------------
* Bug fix: Crash when migrating packages from file storage to S3 storage

0.2.7 - 2014/10/2
-----------------
* Bug fix: First download of package using S3 backend and ``pypi.fallback = cache`` returns 404

0.2.6 - 2014/8/3
----------------
* Bug fix: Rebuilding SQL cache sometimes crashes

0.2.5 - 2014/6/9
----------------
* Bug fix: Rebuilding SQL cache sometimes deadlocks

0.2.4 - 2014/4/29
-----------------
* Bug fix: ``ppc-migrate`` between two S3 backends

0.2.3 - 2014/3/13
-----------------
* Bug fix: Caching works with S3 backend

0.2.2 - 2014/3/13
-----------------
* Bug fix: Security bug in user auth
* Bug fix: Package caching from pypi was slightly broken
* Bug fix: ``ppc-migrate`` works when migrating to the same storage type

0.2.1 - 2014/3/12
-----------------
* Bug fix: Pre-existing S3 download links were broken by 0.2.0

0.2.0 - 2014/3/12
-----------------
**Upgrade breaks**: caching database

* Bug fix: Timestamp display on web interface
* Bug fix: User registration stores password as plaintext
* Feature: ``ppc-migrate``, command to move packages between storage backends
* Feature: Adding support for more than one package with the same version. Now you can upload wheels!
* Feature: Allow transparently downloading and caching packages from pypi
* Feature: Export/Import access-control data via ``ppc-export`` and ``ppc-import``
* Feature: Can set default read/write permissions for packages
* Feature: New cache backend: DynamoDB
* Hosting all js & css ourselves (no more CDN links)
* Obligatory miscellaneous refactoring

0.1.0 - 2014/1/20
-----------------
* First public release

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pypicloud-0.4.0.tar.gz (485.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypicloud-0.4.0-py2-none-any.whl (508.7 kB view details)

Uploaded Python 2

File details

Details for the file pypicloud-0.4.0.tar.gz.

File metadata

  • Download URL: pypicloud-0.4.0.tar.gz
  • Upload date:
  • Size: 485.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypicloud-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4030404d6449f5576e93047e56c23a5b77a6c63c74093502d0f583591d0ebfd3
MD5 6bc8a20120709dcf2c3a1b20e3c6d41f
BLAKE2b-256 e61663a22f41751cf8c9b9526a35d5cc18b65dbdae6880fe8d71a920116ab12e

See more details on using hashes here.

File details

Details for the file pypicloud-0.4.0-py2-none-any.whl.

File metadata

File hashes

Hashes for pypicloud-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4e012216438ad8c8cdcd9d1f4ef9872696a9938490b5311d58eeadb79d212f55
MD5 9ac1cbbc10f3303772c5195d3898e553
BLAKE2b-256 b659f7fb5989cc686e8b27649311725e4e5f3d568797b8ed9555b9d17392fccf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page