macos-eye-care-plan
A Python package that generates personalized 5-day eye care plans for macOS users based on their screen usage patterns and work habits.
Installation
pip install macos_eye_care_plan
Usage
from macos_eye_care_plan import macos_eye_care_plan
# Provide information about your screen usage and environment
user_input = """
I work 8-10 hours daily on my MacBook Pro, mostly coding and writing.
My workspace has moderate lighting, and I experience occasional eye strain.
I take short breaks every hour but don't do any specific eye exercises.
"""
# Generate a personalized eye care plan
plan = macos_eye_care_plan(user_input=user_input)
# The plan returns a list of 5 daily schedules
for day, schedule in enumerate(plan, 1):
print(f"Day {day}: {schedule}")
Parameters
user_input(str): Description of daily screen usage, work environment, and any eye discomfortllm(Optional[BaseChatModel]): LangChain LLM instance (defaults to ChatLLM7)api_key(Optional[str]): API key for LLM7 service
Using Custom LLMs
You can use any LangChain-compatible LLM:
from langchain_openai import ChatOpenAI
from macos_eye_care_plan import macos_eye_care_plan
llm = ChatOpenAI()
response = macos_eye_care_plan(user_input="Your input here", llm=llm)
from langchain_anthropic import ChatAnthropic
from macos_eye_care_plan import macos_eye_care_plan
llm = ChatAnthropic()
response = macos_eye_care_plan(user_input="Your input here", llm=llm)
from langchain_google_genai import ChatGoogleGenerativeAI
from macos_eye_care_plan import macos_eye_care_plan
llm = ChatGoogleGenerativeAI()
response = macos_eye_care_plan(user_input="Your input here", llm=llm)
LLM7 Configuration
The package uses ChatLLM7 from langchain_llm7 by default. For higher rate limits:
export LLM7_API_KEY="your_api_key"
Or pass directly:
response = macos_eye_care_plan(user_input="Your input", api_key="your_api_key")
Get a free API key at: https://token.llm7.io/
Issues
Report issues at: https://github.com/chigwell/macos-eye-care-plan/issues
Author
Eugene Evstafev (hi@euegne.plus)
Metadata
Release files for macos-eye-care-plan 2025.12.21131932
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| macos_eye_care_plan-2025.12.21131932.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| macos_eye_care_plan-2025.12.21131932-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / macos_eye_care_plan-2025.12.21131932.tar.gz
| Download URL | macos_eye_care_plan-2025.12.21131932.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f49de307d01c77eac3cc5f6d7ea98ffce7445ab93ff8f4902eeb8c1c7356b69a
|
|
BLAKE2b-256 checksum How to use checksums |
f41e28877af4e09aa1e60789efab2af984ab44ce2789f56ee17fd4b219511932
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / macos_eye_care_plan-2025.12.21131932-py3-none-any.whl
| Download URL | macos_eye_care_plan-2025.12.21131932-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc6facf80662fddd42bace88a42daa709ab525640a4818371e5f1e2f4811205a
|
|
BLAKE2b-256 checksum How to use checksums |
e4c4b3e54d6494e897ad4d891df1206c50275ab4c76d5463e70390d8a782890b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|