Skip to main content

Library for programmatically interacting with GenePattern from Python.

Project description

[![Version](https://img.shields.io/pypi/v/genepattern-python.svg)](https://pypi.python.org/pypi/genepattern-python) [![Build](https://travis-ci.org/genepattern/genepattern-python.svg?branch=master)](https://travis-ci.org/genepattern/genepattern-python) [![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](https://github.com/genepattern/example-notebooks/blob/master/GenePattern%20Python%20Tutorial.ipynb)

# GenePattern Python Library

This is a Python library for working with GenePattern programmatically. Behind the scenes, calls from this library execute the GenePattern REST API.

## Supported Python Versions

This library requires Python 3.4+. The bundled data submodule gp.data also requires [pandas](http://pandas.pydata.org/), although the rest of the module does not.

Python 2 Support: Support for Python 2 was removed in version 1.4.0. Python 2 users should use version 1.3.1.

## Installing

It is recommended to install this library from PIP. Simply execute the command below:

> pip install genepattern-python

## Upgrading

To upgrade to the latest version of the library, execute the command below:

> pip install genepattern-python –upgrade

## Tutorial

A tutorial on how to use the GenePattern Python Library is [available here](https://github.com/genepattern/example-notebooks/blob/master/GenePattern%20Python%20Tutorial.ipynb).

## “Connection Reset by Peer” Error

Connecting to the GenePattern public server now requires TLS 1.2+. Older versions of SSL and TLS will no longer work. If you’re attempting to connect and receiving a “Connection Reset by Peer” error, you will need to update the OpenSSL library associated with your Python installation.

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

genepattern-python-1.4.5.tar.gz (18.4 kB view details)

Uploaded Source

File details

Details for the file genepattern-python-1.4.5.tar.gz.

File metadata

  • Download URL: genepattern-python-1.4.5.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for genepattern-python-1.4.5.tar.gz
Algorithm Hash digest
SHA256 193b9654eb27aae1791e419191a3543abb0047940d26ccac202b11fec9025554
MD5 e4e58b89b8a15ac08a01307a79ba33e3
BLAKE2b-256 62ed91d4976bd2e100c7fb04170630630dc2aaec8036909ecb871ba879ef9f5b

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