pycardio
The pycardio package provides a curated collection of cardiovascular, clinical trial, and heart disease datasets for data analysis, statistical modeling, and machine learning research. Includes cardiac arrest risk evaluations, UCI Cleveland heart disease database subsets, Framingham 10-year coronary risk factors, 1D ECG time-series signals for regression, cardiac biomarkers (CK-MB, troponin), hospital performance metrics, and regional risk assessments from Kaggle sources.
Installation
You can install the pycardio package from PyPI:
pip install pycardio
Usage
import pycardio as pcd
# List all available datasets
datasets = pcd.list_datasets()
print(datasets)
# Load a specific dataset
df = pcd.load_dataset('cardiac_arrest')
print(df.head())
# Describe dataset
df_01 = pcd.describe('cardiac_arrest')
print(df_01)
Some Available Datasets
| Dataset | Description |
|---|---|
cardiac_arrest |
Clinical and demographic data from the UCI repository for cardiac arrest risk evaluation and predictive modeling. |
heart_patients |
Contains 1,025 patient records with cardiac health attributes such as age, sex, chest pain type, and resting blood pressure. |
heart_healthcare |
Features 76 clinical attributes (14 commonly used) from the Cleveland database for heart disease presence classification. |
Run
pycardio.list_datasets()orpcd.list_datasets()(usingpcdas alias) to see the full list of available datasets.
Disclaimer
The datasets included in pycardio are provided strictly for educational,
research, and informational purposes. All datasets originate from open Kaggle sources
and retain their original licenses and attributions.
The author of pycardio makes no warranties, express or implied, regarding
the accuracy, completeness, or suitability of any dataset for a particular purpose.
Users are solely responsible for ensuring that their use of these datasets complies
with applicable laws, regulations, and ethical guidelines.
Any findings, conclusions, or decisions derived from the use of these datasets are the sole responsibility of the user. The author shall not be held liable for any direct, indirect, incidental, or consequential damages arising from the use or misuse of the datasets included in this library.
For clinical, diagnostic, or any medical decision-making purposes, always consult a qualified healthcare professional or cardiologist.
License
The pycardio library is released under the MIT License, which allows for open use, modification, and distribution.
See the LICENSE file for details.
Metadata
Release files for pycardio 0.1.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 | |
|---|---|---|---|---|
| pycardio-0.1.0.tar.gz | 792.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycardio-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / pycardio-0.1.0.tar.gz
| Download URL | pycardio-0.1.0.tar.gz |
|---|---|
| Size | 792.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6730df52acf5c3a5930526fe32f905653a701cf90f7bb66878c60e094af7bea
|
|
BLAKE2b-256 checksum How to use checksums |
73d8f103bbcd0a6ca0cebbaa27f78aca3344348bec033f81b2678f15ab9a268a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / pycardio-0.1.0-py3-none-any.whl
| Download URL | pycardio-0.1.0-py3-none-any.whl |
|---|---|
| Size | 812.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29c6d1f87bbd83d93a1821ed4e0544ce0788ffd452c77fe70699615e92d52979
|
|
BLAKE2b-256 checksum How to use checksums |
8410087ececb4aa03ff65118f41a2628b1933e3f61458ac7e834cc42aaabc67e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for pycardio 0.1.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.