Skip to main content

Mental health questionnaires.

Project description



A Python library for giving and scoring various health based questionnaires.

Currently the following are supported:

More information about the above tests can be found in questionnaires.



pip install hippocrates

From Source

git clone
cd hippocrates
python install

Using the Questionnaires

Once installed, the questionnaires are available via the hippocrates command:


e.g. hippocrates phq9

Below is the list of the supported questionnaires:

  • beck_depression_index
  • gad2
  • gad7
  • mood
  • phq2
  • phq9
  • rosenberg_self_esteem



Stops results from being displayed once questionnaire is created, default is off.


Logs results to ~/.hippocrates/results.csv, default is off.


Selected questionnaire to complete.


Using --log outputs your results in a csv file stored locally in you home directory called .hippocrates. A sample is listed below:

2019-01-21 13:12:38,gad7,15
2019-02-21 13:17:38,phq9,14
2019-03-22 13:12:38,gad7,3


Use the command hippocrates-results to create a local html file called hippocrates_results.html.

This file will be opened in your browser to display your results as a basic graph:

Example results

Project details

Download files

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

Files for hippocrates, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size hippocrates-0.4.0-py3-none-any.whl (33.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hippocrates-0.4.0.tar.gz (17.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page