Hippocrates
A Python library for giving and scoring various health based questionnaires.
Currently the following are supported:
- Beck Depression Inventory
- Generalized Anxiety Disorder 2
- Generalized Anxiety Disorder 7
- Patient Health Questionnaire 2
- Patient Health Questionnaire 9
- Rosenberg Self-Esteem Scale
- Mood - Generic scoring from 1 to 10 of current mood.
More information about the above tests can be found in questionnaires.
Installing
Pip
pip install hippocrates
From Source
git clone https://github.com/chrishannam/hippocrates.git
cd hippocrates
python setup.py install
Using the Questionnaires
Once installed, the questionnaires are available via the hippocrates command:
hippocrates QUESTIONNAIRE_NAME
e.g.
hippocrates phq9
Below is the list of the supported questionnaires:
beck_depression_indexgad2gad7moodphq2phq9rosenberg_self_esteem
Options
--hide
Stops results from being displayed once questionnaire is created, default is off.
--log
Logs results to ~/.hippocrates/results.csv, default is off.
questionnaire
Selected questionnaire to complete.
Reporting
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
hippocrates-results
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:
Metadata
Release files for hippocrates 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hippocrates-0.4.0.tar.gz | 17.8 kB | Without provenance | Details for hippocrates-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hippocrates-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for hippocrates-0.4.0-py3-none-any.whl |
Total release size: 51.1 kB
Release files / hippocrates-0.4.0.tar.gz
| Download URL | hippocrates-0.4.0.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2ddc0bb88426524fbffa9db2ec02faad8d1e84277eab628f2382cacdfecff92
|
|
BLAKE2b-256 checksum How to use checksums |
564169d2c4942ff6698ce566bcde4e76d70865384c27de1c8ab3a302fb67d70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|
Release files / hippocrates-0.4.0-py3-none-any.whl
| Download URL | hippocrates-0.4.0-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3af897c9612bd60487084277b1ab401999d21275a74e24b2b703be6365b37f64
|
|
BLAKE2b-256 checksum How to use checksums |
d22893ab8a6faf4ce5172c8a12cc864ffcf60ba42a818a20a3cd8ad7a618362a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
|
Security for hippocrates 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.