Proofly
Enterprise-grade health metrics analysis and prediction engine for healthcare applications. Proofly empowers healthcare applications with advanced analytics and predictive capabilities, focusing on chronic conditions including diabetes, hypertension, COPD, and more.
Table of Contents
Features
- Comprehensive health scoring with evidence-based algorithms
- Multi-factor risk stratification
- Time-series health data processing
- Smart clinical recommendations
- HIPAA-compliant data handling
- Extensive error handling and validation
- Export capabilities for reports and analysis
Installation
pip install proofly
Dependencies
- Python ≥ 3.8
- dataclasses
- typing
- datetime
Quick Start
from proofly import HealthAnalyzer
from proofly.models import DiabetesMetrics
# Initialize analyzer
analyzer = HealthAnalyzer()
# Create metrics
metrics = DiabetesMetrics(
blood_glucose=120, # mg/dL
hba1c=6.5, # %
blood_pressure=130 # mmHg
)
# Analyze metrics
result = analyzer.analyze_metrics("diabetes", metrics)
# Access results
print(f"Health Score: {result.health_score}")
print(f"Risk Level: {result.risk_level}")
print(f"Confidence: {result.confidence_score}%")
print("\nRecommendations:")
for rec in result.recommendations:
print(f"- {rec}")
Usage Guide
Supported Health Conditions
Diabetes Management
from proofly import HealthAnalyzer
from proofly.models import DiabetesMetrics
analyzer = HealthAnalyzer()
diabetes_metrics = DiabetesMetrics(
blood_glucose=120,
hba1c=6.5,
blood_pressure=130
)
result = analyzer.analyze_metrics(
condition="diabetes",
metrics=diabetes_metrics
)
analysis = result.get_detailed_analysis()
print(f"Health Score: {analysis['health_score']}")
print(f"Risk Level: {analysis['risk_level']}")
Hypertension Monitoring
from proofly import HealthAnalyzer
from proofly.models import HypertensionMetrics
analyzer = HealthAnalyzer()
hypertension_metrics = HypertensionMetrics(
systolic_pressure=130,
diastolic_pressure=85,
heart_rate=72
)
result = analyzer.analyze_metrics("hypertension", hypertension_metrics)
print(f"Health Score: {result.health_score}")
COPD Assessment
from proofly.models import COPDMetrics
copd_metrics = COPDMetrics(
oxygen_saturation=95,
peak_flow=350,
respiratory_rate=18
)
result = analyzer.analyze_metrics("copd", copd_metrics)
print(f"Health Score: {result.health_score}")
Exporting Results
# Export Example
from proofly import HealthAnalyzer
from proofly.models import DiabetesMetrics
from proofly.export import ReportGenerator
from proofly.enums import ReportFormat
analyzer = HealthAnalyzer()
metrics = DiabetesMetrics(blood_glucose=120, hba1c=6.5, blood_pressure=130)
result = analyzer.analyze_metrics("diabetes", metrics)
report = ReportGenerator.create_report(
result,
format=ReportFormat.PDF,
include_graphs=True,
include_recommendations=True
)
print(report['data'])
Error Handling
from proofly import HealthAnalyzer
from proofly.models import DiabetesMetrics
from proofly.exceptions import ValidationError, ConfigurationError, AnalysisError
analyzer = HealthAnalyzer()
try:
result = analyzer.analyze_metrics(
condition="diabetes",
metrics=DiabetesMetrics(
blood_glucose=500,
hba1c=6.5,
blood_pressure=130
)
)
except ValidationError as e:
print(f"Validation Error: {e.message}")
License
Distributed under the MIT License. See LICENSE for more information.
Support
- Issue Tracker: GitHub Issues
- Email Support: support@proofly.xyz
Acknowledgments
- Built with input from healthcare professionals
- Implements evidence-based medical guidelines
- Uses validated statistical models
- Follows healthcare industry best practices
- Adheres to HIPAA compliance standards
Metadata
Release files for proofly 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| proofly-1.2.4.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| proofly-1.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / proofly-1.2.4.tar.gz
| Download URL | proofly-1.2.4.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7d21edc987464e285e3748df93eb09be0e308b11b82492d1d7e73282a9db753
|
|
BLAKE2b-256 checksum How to use checksums |
d1376d63a06450bba5ef11074c84346ecfc4a1fbeca1800155374b6aa3192640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / proofly-1.2.4-py3-none-any.whl
| Download URL | proofly-1.2.4-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e7beff9a36bb6772d1cf6f94e70a219be1701fe9f42011187202856b985ac25
|
|
BLAKE2b-256 checksum How to use checksums |
434b0bf1734b1291a0e5e646bf9c7489dabcf2dea9f541719e4acb76b087707e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|