Giter Site home page Giter Site logo

epipy's Introduction

EpiPy

A Python package for epidemiology. Epipy is a Python package for epidemiology. It contains tools for analyzing and visualizing epidemiology data. Epipy can currently produce:

  • stratified summary statistics
  • case tree and checkerboard plots
  • epicurves
  • analysis of case attribute (e.g. sex) by generation
  • 2x2 tables with odds ratio and relative risk
  • summary of cluster basic reproduction numbers

Installation

The github version of epipy is substantially further along that the pip version. I suggest installing from this repo when possible.

Install using pip:

pip install epipy

Or clone the repository and install using setup.py:

git clone https://github.com/cmrivers/epipy.git
cd ./epipy
pip install -r requirements.txt
python setup.py install

EpiPy is in development. Please feel free to contribute. Contact me at [email protected] or @cmyeaton with any questions.

Learning Python

New to Python? I teach a self-paced course on Python for epidemiologists over at episkills.teachable.com.

Contributing/Development

If you want to contribute in this great project. First fork this repo in github.

Clone your forked repo in your terminal using the appropriate command:

git clone https://github.com/your-git-user-name/epipy.git
cd ./epipy

Add this repo as upstream remote:

git remote add upstream [email protected]:cmrivers/epipy.git

We use gitflow. Follow this instructions to install.

git branch master origin/master
git flow init -d
git flow feature start <your feature>

For install the tools for TDD use:

pip install -r requirements.txt
pip install -r requirements-tdd.txt

To run the test suit use:

cd ./epipy
py.test test

Then, do work and commit your changes. After finish your feature with coverage of test, please pull any change that ocurred from the upstream repo. You can use:

git pull upstream master

If git fast-forward error is issue then use:

git rebase upstream/master

Resolve the merge conflicts that couid exist using:

git mergetool
git rebase --continue

After everything is ok then:

git flow feature publish <your feature>

When done, open a pull request to your feature branch.

Documentation

The docs live at: cmrivers.github.io/epipy

epipy's People

Contributors

cmyeaton avatar cmrivers avatar wilbertom avatar elofgren avatar alicetoll avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.