notifex is a Python package designed to help developers extract and structure notification content from iOS and Android devices for use with ClaudeCode. The package takes raw notification text as input and returns a standardized, machine-readable format, making it easier to consistently process and analyze notifications across different platforms.
pip install notifexfrom notifex import notifex
# Example with default LLM (ChatLLM7)
response = notifex("New message from John: Are we still meeting tomorrow?")
print(response)You can use any LLM that's compatible with LangChain by passing a custom LLM instance:
from langchain_openai import ChatOpenAI
from notifex import notifex
llm = ChatOpenAI()
response = notifex("New message from John: Are we still meeting tomorrow?", llm=llm)from langchain_anthropic import ChatAnthropic
from notifex import notifex
llm = ChatAnthropic()
response = notifex("New message from John: Are we still meeting tomorrow?", llm=llm)from langchain_google_genai import ChatGoogleGenerativeAI
from notifex import notifex
llm = ChatGoogleGenerativeAI()
response = notifex("New message from John: Are we still meeting tomorrow?", llm=llm)By default, notifex uses ChatLLM7 with its free tier. If you need higher rate limits, you can provide your own API key:
# Via parameter
response = notifex("Your notification text", api_key="your_llm7_api_key")
# Via environment variable
import os
os.environ["LLM7_API_KEY"] = "your_llm7_api_key"
response = notifex("Your notification text")You can get a free API key by registering at https://token.llm7.io/
user_input(str): The notification text to processllm(Optional[BaseChatModel]): The LangChain LLM instance to use. If not provided, ChatLLM7 is used by default.api_key(Optional[str]): The API key for LLM7. If not provided, it checks the environment variable LLM7_API_KEY.
Found a bug or have a feature request? Please open an issue at https://github.com/chigwell/notifex/issues.
Eugene Evstafev - hi@euegne.plus