This is a list of all configuration parameters for pypicloud
Argument: {'redirect', 'cache', 'none'}, optional
This option defines what the behavior is when a requested package is not found in the database. (default 'redirect')
redirect
- Return a 302 to the package at the fallback_url
. This is the default.
cache
- Download the package from fallback_url
, store it in the backend, and serve it. User must have cache_update
permissions. If not, returns 404.
none
- Return a 404
Argument: string, optional
The index server to handle the behavior defined in pypi.fallback
(default http://pypi.python.org/simple)
Argument: list, optional
List of groups that are allowed to read packages that have no explicit user or group permissions (default ['authenticated'])
Argument: list, optional
List of groups that are allowed to write packages that have no explicit user or group permissions (default no groups, only admin users)
Argument: list, optional
Only used when pypi.fallback = cache
. This is the list of groups that are allowed to trigger the operation that fetches packages from fallback_url
. (default ['authenticated'])
Argument: bool, optional
Allow users to upload packages that will overwrite an existing version (default False)
Argument: string, optional
The HTTP Basic Auth realm (default 'pypi')
Argument: bool, optional
Replaced by pypi.fallback
. Setting to True
has no effect. Setting to False
will set pypi.fallback = none
.
Argument: string, optional
A dotted path to a subclass of ~pypicloud.storage.base.IStorage
. The default is ~pypicloud.storage.files.FileStorage
. Each storage option may have additional configuration options. Documentation for the built-in storage backends can be found at storage
.
Argument: string, optional
A dotted path to a subclass of ~pypicloud.cache.base.ICache
. The default is ~pypicloud.cache.sql.SQLCache
. Each cache option may have additional configuration options. Documentation for the built-in cache backends can be found at cache
.
Argument: string, optional
A dotted path to a subclass of ~pypicloud.access.base.IAccessBackend
. The default is ~pypicloud.access.config.ConfigAccessBackend
. Each backend option may have additional configuration options. Documentation for the built-in backends can be found at access_control
.
Beaker is the session manager that handles user auth for the web interface. There are many configuration options, but these are the only ones you need to know about.
Argument: string
Encryption key to use for the AES cipher. Here is a reasonable way to generate one:
$ python -c 'import os, base64; print base64.b64encode(os.urandom(32))'
Argument: string
Validation key used to sign the AES encrypted data.
Argument: bool, optional
If True, only set the session cookie for HTTPS connections (default False). When running a production server, make sure this is always set to true
.