# Python ASCVD
Install it: `pip install ascvd`
Should be compatible with Python 2 and 3 alike.
Should agree with http://tools.acc.org/ASCVD-Risk-Estimator-Plus/#!/calculate/estimate/
Code mostly borrowed from https://github.com/cerner/ascvd-risk-calculator
Referring to the README for that project, this calculates the ASCVD risk according
to the [2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk](http://circ.ahajournals.org/content/circulationaha/129/25_suppl_2/S49.full.pdf)
and the [2013 ACC/AHA Guideline on the Treatment of Blood Cholesterol to Reduce Atherosclerotic Cardiovascular Risk in Adults](http://circ.ahajournals.org/content/circulationaha/129/25_suppl_2/S1.full.pdf).
## Documentation:
It's a single function.
```
compute_ten_year_score -> int
Args:
isMale (bool)
isBlack (bool)
smoker (bool)
hypertensive (bool)
diabetic (bool)
age (int)
systolicBloodPressure (int)
totalCholesterol (int)
hdl (int)
```
## Contributing
This could really use some tests! The code right now pretty much just assumes
that the good folks at Cerner are superhumans who don't make mistakes.
Feel free to fork and open a pull request. Please, one pull request per
functional change.
Install it: `pip install ascvd`
Should be compatible with Python 2 and 3 alike.
Should agree with http://tools.acc.org/ASCVD-Risk-Estimator-Plus/#!/calculate/estimate/
Code mostly borrowed from https://github.com/cerner/ascvd-risk-calculator
Referring to the README for that project, this calculates the ASCVD risk according
to the [2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk](http://circ.ahajournals.org/content/circulationaha/129/25_suppl_2/S49.full.pdf)
and the [2013 ACC/AHA Guideline on the Treatment of Blood Cholesterol to Reduce Atherosclerotic Cardiovascular Risk in Adults](http://circ.ahajournals.org/content/circulationaha/129/25_suppl_2/S1.full.pdf).
## Documentation:
It's a single function.
```
compute_ten_year_score -> int
Args:
isMale (bool)
isBlack (bool)
smoker (bool)
hypertensive (bool)
diabetic (bool)
age (int)
systolicBloodPressure (int)
totalCholesterol (int)
hdl (int)
```
## Contributing
This could really use some tests! The code right now pretty much just assumes
that the good folks at Cerner are superhumans who don't make mistakes.
Feel free to fork and open a pull request. Please, one pull request per
functional change.
Metadata
Release files for ascvd 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ascvd-0.5.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ascvd-0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / ascvd-0.5.tar.gz
| Download URL | ascvd-0.5.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63d2b7eb7154db1de6b285c6944c067cfd285f4dea79d099a1e62368e15437d6
|
|
BLAKE2b-256 checksum How to use checksums |
4dafedca3fc07ba2ec1343cc95f1cc67c1f0d6cc1cea3343441de5790cc71514
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.5
|
Release files / ascvd-0.5-py3-none-any.whl
| Download URL | ascvd-0.5-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ef3e36f8e55520db857540debda9e01c1462f8b35540c05306c79842218d735
|
|
BLAKE2b-256 checksum How to use checksums |
e8b9be5604eaf304f3554240c3eabdb385b6b0caafb233fc84852699d3ada3d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.5
|