Skip to main content

C_healthy

C_healthy là thư viện Python để tính toán các chỉ số sức khỏe (BMI, BMR, TDEE, và nhiều chỉ số khác) bên cạnh đó còn đưa ra lời khuyên với chỉ số sức khỏe hiện tại

Cách cài đặt

pip install C_healthy

Cách sử dụng

from C_healthy import *

bmi = BMI(70, 1.75)
bmr = BMR("nam", 60, 1.75, 18)
tdee = TDEE("nam", 60, 1.75, 18, 3)
lbm = LBM("nam", 70, 1.75)
ffmi = FFMI("nam", 60, 1.7)
rfm = RFM(85, 1.7)
bfp = BFP("nam", 70, 1.75, 20)
ibw = IBW("nam", 1.75)
whr = WHR("nam", 85, 95)
bbw = BBW(60)
ma = MA("nam", 70, 1.7, 18)
vfr = VFR(85, 95)
bsa = BSA(1.7, 60)
vo2max = VO2MAX(110, 60)
hsi = HSI("nam", 60, 1.7, 18, 200, 110)
mmi = MMI("nam", 60, 1.7)
bfm = BFM("nam", 60, 1.7, 18)

print("BMI:", bmi, "\nLời khuyên:", NABMI(bmi))
print("BMR:", bmr, "\nLời khuyên:", NABMR("nam", bmr))
print("TDEE:", tdee, "\nLời khuyên:", NATDEE("nam", tdee))
print("LBM:", lbm, "\nLời khuyên:", NALBM(lbm))
print("FFMI:", ffmi, "\nLời khuyên:", NAFFMI(ffmi))
print("RFM:", rfm, "\nLời khuyên:", NARFM(rfm))
print("BFP:", bfp, "\nLời khuyên:", NABFP(bfp))
print("IBW:", ibw, "\nLời khuyên:", NAIBW(ibw))
print("WHR:", whr, "\nLời khuyên:", NAWHR(whr))
print("BBW:", bbw, "\nLời khuyên:", NABBW(bbw))
print("MA:", ma, "\nLời khuyên:", NAMA(ma))
print("VFR:", vfr, "\nLời khuyên:", NAVFR(vfr))
print("BSA:", bsa, "\nLời khuyên:", NABSA(bsa))
print("VO2MAX:", vo2max, "\nLời khuyên:", NAVO2MAX(vo2max))
print("HSI:", hsi, "\nLời khuyên:", NAHSI(hsi))
print("MMI:", mmi, "\nLời khuyên:", NAMMI(mmi))
print("BFM:", bfm, "\nLời khuyên:", NABFM(bfm))

print(INSTRUCT()) # hàm hướng dẫn 

CUỐI CÙNG CẢM ƠN CÁC BẠN ĐÃ TIN DÙNG THƯ VIỆN CỦA MÌNH

Metadata

Release files for C-healthy 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for C-healthy 0.2.6
File Size Uploaded Provenance Actions
c_healthy-0.2.6.tar.gz 7.1 kB Without provenance Details for c_healthy-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for C-healthy 0.2.6
File Interpreter ABI Platform Actions
c_healthy-0.2.6-py3-none-any.whl Python 3 none any Details for c_healthy-0.2.6-py3-none-any.whl

Total release size: 15.1 kB

Release files / c_healthy-0.2.6.tar.gz

Download URL c_healthy-0.2.6.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
26b9d34826150411385452c7130ea8c91387b51de03d2271cc36e0fe3c75b720
BLAKE2b-256 checksum
How to use checksums
ad7eae682b7b3254d59da233ecd70551790101bdcdf9d74ff24867fefc6f989d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / c_healthy-0.2.6-py3-none-any.whl

Download URL c_healthy-0.2.6-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
032a53ce2f1a6c9975f82290cd0b7a9a1733ba8b49abbd07136922da674981d0
BLAKE2b-256 checksum
How to use checksums
cd14f85aeb1cf98574314a236e7cf13d53340dd1c0d8277bfec64457c5695ba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for C-healthy 0.2.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page