Skip to main content

A package for processing and visualizing data collected with the Cozie-Apple app

Project description

CoziePy

CoziePy is a Python package to retrieve, process, and plot data from the Cozie iOS app for human comfort data collection.

Features

TBD

Documentation and tutorials

TBD

Quick start

  1. Installation

    pip install coziepy
    
  2. Download Cozie data using the web API and CoziePy

    from coziepy import Cozie
    
    cozie = Cozie()
    
    df = cozie.load(
      id_experiment = "AppStore",
      participant_list = ['participant_01', 'participant_02'],
      timezone = 'Asia/Singapore',
      api_url='https://m7cy76lxmi.execute-api.ap-southeast-1.amazonaws.com/default/cozie-apple-researcher-read-influx', 
      api_key='XXX' # Please reach out to cozie.app@gmail.com for an API_KEY
    ) 
    df.head()
    
  3. Plot Cozie data using CoziePy

    from coziepy import Cozie
    
    cp = CoziePlot(df=df, ws_questions=ws_questions)
    
    fig = cp.cohort_survey_count_bar(mode='plotly')
    fig.show()
    

Contribute

We would love you for the contribution to our project, check the LICENSE file for more info.

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

coziepy-0.0.23.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coziepy-0.0.23-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file coziepy-0.0.23.tar.gz.

File metadata

  • Download URL: coziepy-0.0.23.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for coziepy-0.0.23.tar.gz
Algorithm Hash digest
SHA256 3693bc9f9c16ed0ccdead0756025b2f7d29800fa933536f688ad1ecc79dbb4e2
MD5 b56639168ef81b2459ebabff04ebe7f2
BLAKE2b-256 b7a878feefd2f516659f7a2ae359e2244f1233ef3f52686cc7ad7da2d61a058c

See more details on using hashes here.

File details

Details for the file coziepy-0.0.23-py3-none-any.whl.

File metadata

  • Download URL: coziepy-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for coziepy-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 8cbffe25953503d41061a57c883d1e100a442d0cb512dae7842b9a4081802aa5
MD5 b655d8464e33f50dcdbb6811aeaa66d8
BLAKE2b-256 e2ebe23a025b7f2dba3129c9da370ead20912e2924fc5d105ecc87dcefb60b1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page