Skip to main content

Python interface to the MDwalks CLUE.

Project description

py-clue

The Python interface to the MDwalks CLUE.

Description

To be defined..

Getting Started

Install

pip install python-clue

Usage

Basic Usage

from pyclue import CLUE
clue = CLUE(
    "localhost",  # CLUE server host
    9999,  # CLUE server port
    "test@linewalks.com",  # test account name
    "password"  # test account password
)
conn = clue.connect()

cohort_list = conn.get_cohort_list()

result = conn.get_cohort_person_table(123) # cohort_id: 123
person_list = result.fetchall()

With pandas

import pandas as pd

result = conn.get_cohort_person_table(123)
df = pd.DataFrame(person_list)

Contribution

To be defined...

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

python_clue-0.2.0-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

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