Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

intake/intake-postgres

Repository files navigation

intake-postgres

Build Status Documentation Status

PostgreSQL Plugin for Intake

This repo depends upon postgresdapter, which is currently unmaintained. We therefore suggest you use intake-sql instead.

User Installation

Note: the following command does not work yet, and the developer installation is recommended.

conda install -c intake intake-postgres

Developer Installation

  1. Create a development environment with conda create. Then install the dependencies:

    conda install -c intake intake
    conda install -n root conda-build
    git clone https://github.com/ContinuumIO/PostgresAdapter.git
    conda build PostgresAdapter/buildscripts/condarecipe
    conda install --use-local postgresadapter
    conda install pandas psycopg2 sqlalchemy postgresql pytest shapely
    
  2. Development installation:

    python setup.py develop --no-deps
    
  3. Running tests:

    pytest -v tests