Total proteomics differential analysis models and auxilaries for Corpus
Project description
corpus-clavicle
This is a python package used to provide models and auxilaries for the corpus package for dealing with total proteomics data
Installation
pip install django-postgres-extra corpus-clavicle psycopg2
Usage
import os
INSTALLED_APPS = [
#...
'django.contrib.postgres', # Required for 'psqlextra
'psqlextra',
'clavicle',
#...
]
DATABASE_ROUTERS = ['clavicle.dbrouter.ClavicleRouter']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'db.sqlite3',
},
'clavicle': {
'ENGINE': 'psqlextra.backend',
'NAME': os.environ.get('POSTGRES_NAME', 'clavicle'),
'USER': os.environ.get('POSTGRES_USER', 'admin'),
'PASSWORD': os.environ.get('POSTGRES_PASSWORD', "testpostgrest"),
'HOST': os.environ.get('POSTGRES_HOST', 'localhost'),
'PORT': int(os.environ.get('POSTGRES_PORT', '5432')),
}
}
python manage.py migrate --database=clavicle
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
corpus_clavicle-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for corpus_clavicle-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfac8462672dec8a421bfe80803b5e2302da8f1bf8e322c68b26550f7413bac5 |
|
MD5 | 1f408aa807a43a89d3ca1e8bd29718e5 |
|
BLAKE2b-256 | 767fd1562af56f1c6c803ae447419b7075af57975c52cd81391dc1fc90536800 |