Skip to main content

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


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.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

corpus_clavicle-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file corpus_clavicle-0.1.1.tar.gz.

File metadata

  • Download URL: corpus_clavicle-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.6 Windows/10

File hashes

Hashes for corpus_clavicle-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d223614a9ff588cd4622005b6410039bd8bf0372ec19612dfdd49a488fc05f1
MD5 ec24167edada9909e96029f323ecfad3
BLAKE2b-256 cf77a229e9a2ba5f64d15df68aaf648e19354b39ecad453b8dfe1581dd8a1874

See more details on using hashes here.

File details

Details for the file corpus_clavicle-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for corpus_clavicle-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f554aa2ec11a48d3f40ec243cd283b17a33c5fd5d10f6f2ea62d7889927d01d
MD5 12b3c6ab6c66b791319cb159cad51f60
BLAKE2b-256 1466baa9eec065e2466794cc28060c1b1ad78b12a225852d722f1be93ab43ddc

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