Configuring the server

Since pryvate is a Flask application, it uses Flask configuration as well, making it easier for you to configure the server.

Default Pryvate config.

class pryvate.defaultconfig.DefaultConfig[source]

Class containing the default config for the Pryvate package.

Anything can be overwritten! This is a regular old Flask configuration, read more here: http://flask.pocoo.org/docs/0.10/config/ and here http://flask.pocoo.org/docs/0.10/api/#flask.Flask.default_config

The few options pryvate needs are:

  • BASEDIR - Where to store packages
  • PYPI - The url to the cheeseshop where public packages are stored
  • DB_PATH - Path to a SQLite database (can be :memory:)