Skip to main content

devpi-postgresql: a PostgreSQL storage backend for devpi-server

Project description

devpi-postgresql: a PostgreSQL storage backend for devpi-server

This plugin adds a PostgreSQL storage backend for devpi-server.

Installation

devpi-postgresql needs to be installed alongside devpi-server.

You can install it with:

pip install devpi-postgresql

Usage

When using the PostgreSQL storage, devpi-server expects an empty database. You have to create one like this: createdb devpi

Upon first initialization of devpi-server use --storage pg8000 to select the PostgreSQL backend.

By default it’ll use the devpi database on localhost port 5432. To change that, use storage pg8000:host=example.com,port=5433,database=devpi_prod.

All user/index files and metadata of devpi-server are stored in the database. A few things and settings are still stored as files in the directory specified by --serverdir.

Plugins like devpi-web don’t or can’t use the storage backend. They still handle their own storage.

Changelog

Project details


Download files

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

Source Distribution

devpi-postgresql-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file devpi-postgresql-0.1.0.tar.gz.

File metadata

File hashes

Hashes for devpi-postgresql-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c6ec895d1546bfee6e7b72fb7d4aa2f9a1fc6fd040aa4066c19cb0171b33576f
MD5 c3d36d18eede4b0bd47c0ddfb484c5aa
BLAKE2b-256 bdbffada37a18a1525e7731db21f6a5b0561f6dab560a1dd51e0b53a76684f19

See more details on using hashes here.

Supported by

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