Skip to main content

A simple API (build on top of the Django Model API) to store and manage MIP (molecular inversion probe) markers. Detailed markers description e.g in [Science 338, 1619 (2012)].

Prerequisites

#### Python 2.7

Linux

probably, you already have it!

Windows

download & install: https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi

remember to select “Add python.exe to Path”

#### pip & virtualenv (optional)

Linux (Ubuntu/Debian)

sudo apt-get install python-pip python-dev build-essential sudo pip install –upgrade pip sudo pip install –upgrade virtualenv

Windows

With Python 2.7.10 version, pip is a part of the Python for Windows installer.

Windows alternatively: pip can be downloaded with this script: [get-pip.py], and installed by running in console:

C:> python get-pip.py

Requirements

#### Django 1.7-1.8

pip install django

#### Python-PostgreSQL Database Adapter

Linux

pip install psycopg2

Windows

pip install git+https://github.com/nwcell/psycopg2-windows.git@win32-py27#egg=psycopg2

Windows alternatively: download & install from win-psycopg project site - e.g. [psycopg2]

http://stickpeople.com/projects/python/win-psycopg/

Download

#### package [![PyPI version](https://badge.fury.io/py/django-mips.svg)](http://badge.fury.io/py/django-mips) [![Code Health](https://landscape.io/github/michal-stuglik/django-mips/master/landscape.svg?style=flat)](https://landscape.io/github/michal-stuglik/django-mips/master) [![Build Status](https://travis-ci.org/michal-stuglik/django-mips.svg?branch=master)](https://travis-ci.org/michal-stuglik/django-mips) [![Code Climate](https://codeclimate.com/github/michal-stuglik/django-mips/badges/gpa.svg)](https://codeclimate.com/github/michal-stuglik/django-mips)

https://pypi.python.org/pypi/django-mips

#### source code

$ git clone https://github.com/michal-stuglik/django-mips.git

#### with pip (recommended)

Install with pip

pip install django-mips

you will find mips folder in your Python directory

Setup

#### outside Django project, in python scripts:

  • set database connection details in mips.dbsettings_default.py

  • set the DJANGO_SETTINGS_MODULE environment variable to “mips.settings”

    import os os.environ.setdefault(“DJANGO_SETTINGS_MODULE”, “mips.settings”)

  • set up Django: django.setup()

    import django django.setup()

Examples

[scripts & README]

[get-pip.py]: https://raw.github.com/pypa/pip/master/contrib/get-pip.py [image]: https://pypip.in/v/django-mips/badge.png [1]: https://pypip.in/d/django-mips/badge.png [scripts & README]: https://github.com/michal-stuglik/django-mips/tree/master/mips/example [psycopg2]: http://stickpeople.com/projects/python/win-psycopg/2.6.0/psycopg2-2.6.0.win32-py2.7-pg9.4.1-release.exe [pythonwin]: https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi [django-mips]: https://pypi.python.org/pypi/django-mips [Science 338, 1619 (2012)]: http://www.sciencemag.org/content/338/6114/1619

Release files for django-mips 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-mips 0.3.2
File Size Uploaded
django-mips-0.3.2.tar.gz 175.6 kB Details

Release files / django-mips-0.3.2.tar.gz

Download URL django-mips-0.3.2.tar.gz
Size 175.6 kB
Tags Source
SHA-256 checksum
How to use checksums
90499655b2bb82466818f04ca5f85f9f303e6994bb0e75574773646fd2be1cbd
BLAKE2b-256 checksum
How to use checksums
ecbc1bd5de661cce2d2c96c1d10d9607fa5108c60f05b4db174c0b926ea91096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page