Skip to main content

Read EpiCollect 5 data from python

Project description

# PyEpiCollect

## Read EpiCollect 5 data from python

* **python code**: Rodrigo E. Principe (fitoprincipe82 at gmail)
* **EpiCollect expert**: Pablo Masera (pablomasera82 at gmail)

### Install

> pip install pyepicollect

### Use
#### Search for a given project

``` python
import pyepicollect as pyep

# Public Project
result = pyep.api.search_project(name)

# Private Project
token = pyep.auth.request_token(client_id, client_secret)
token = token['access_token']

result = pyep.api.search_project(name, token=token)
```

### Unit Test

1. Make a virtual environment: (see https://docs.python-guide.org/dev/virtualenvs/#lower-level-virtualenv)
> virtualenv env --python=python3

Make sure to name the environment `env` so it's ignored by git. Do not do:
> virtualenv venv --python=python3

2. install requirments
> pip install -r requirements.txt

3. run test
> python -m pytest -v


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

pyepicollect-5.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

pyepicollect-5.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pyepicollect-5.1.0.tar.gz.

File metadata

  • Download URL: pyepicollect-5.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.14

File hashes

Hashes for pyepicollect-5.1.0.tar.gz
Algorithm Hash digest
SHA256 9e0675bd73765484a119146b06f64c44f959197810b906d597eec55942d29ff5
MD5 871d6a738977771e812cf4a2b6fc4a54
BLAKE2b-256 8287d114ceba8de251bde1cdf0f2f69578ccdd77422fef1a876e0cb92d834be9

See more details on using hashes here.

File details

Details for the file pyepicollect-5.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyepicollect-5.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.14

File hashes

Hashes for pyepicollect-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ba129c8edd608b57250722f5838b49338c4e7195876ffddbd9c3f0ea0ad3a22
MD5 c19ea54afd8d2ec242abd1aff8063f87
BLAKE2b-256 678bf580b34665b2fbb6492c2d8b960bd8b229efdf50c6be655b1d93f4531d1c

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