caffeine bedtime calculator
1.0.0
เครื่องคิดเลขคาเฟอีนก่อนนอน 2017 Seth L
เวอร์ชัน: 0.0.3
คำนวณวันที่/เวลาเมื่อคุณสามารถคาดหวังได้ว่าการนอนหลับของคุณจะไม่ถูกคาเฟอีนที่ไม่ได้รับการด้อยค่าอีกต่อไปโดยใช้การเผาผลาญครึ่งชีวิต 5.7 ชั่วโมง
ข้อโต้แย้ง:
TARGET: Natural number. Target caffeine amount (in milligrams) for
bedtime. Recommendation: 50 to 100
TIME_AMOUNT: Format is '24-hour-time:amount'. 'Amount' is milligrams of
caffeine. E.g, '1100:300'
ตัวอย่าง:
python cbc.py 75 '1100:300' '1500:5'
75 คือคาเฟอีนที่ผู้ใช้ต้องการกี่มิลลิกรัมในระบบของพวกเขาก่อนนอน'1100:300' หมายถึงผู้ใช้มีคาเฟอีน 300 มก. เวลา 11:00 น.'1500:5' หมายความว่าผู้ใช้มีคาเฟอีน 5 มก. เวลา 15.00 น. 
pip install virtualenv ) # Clone repo
git clone https://github.com/sethll/caffeine-bedtime-calculator.git
cd caffeine-bedtime-calculator
# Using a virtual environment is recommended, but not required. You may
# skip these steps.
virtualenv venv -p python3
. venv/bin/activate
# Install dependencies
pip install -r requirements.txt