A new package that helps 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 stan
Project description
notifex
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.
Installation
pip install notifex
Usage
Basic Usage
from notifex import notifex
# Example with default LLM (ChatLLM7)
response = notifex("New message from John: Are we still meeting tomorrow?")
print(response)
Custom LLM
You can use any LLM that's compatible with LangChain by passing a custom LLM instance:
Using OpenAI
from langchain_openai import ChatOpenAI
from notifex import notifex
llm = ChatOpenAI()
response = notifex("New message from John: Are we still meeting tomorrow?", llm=llm)
Using Anthropic
from langchain_anthropic import ChatAnthropic
from notifex import notifex
llm = ChatAnthropic()
response = notifex("New message from John: Are we still meeting tomorrow?", llm=llm)
Using Google
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)
API Key Configuration
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/
Parameters
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.
Contributing
Found a bug or have a feature request? Please open an issue at https://github.com/chigwell/notifex/issues.
Author
Eugene Evstafev - hi@euegne.plus
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file notifex-2025.12.21125243.tar.gz.
File metadata
- Download URL: notifex-2025.12.21125243.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee634da5e43daacaf69c9a3df1730de2f5755e7724c6bc41abefdd4ed392d7d5
|
|
| MD5 |
18dbf7a136a9716614b88ea953330de6
|
|
| BLAKE2b-256 |
66b95a2c75732bd3001c349c453b67cad6d45e9b25375e94d7144ee287c8ffd3
|
File details
Details for the file notifex-2025.12.21125243-py3-none-any.whl.
File metadata
- Download URL: notifex-2025.12.21125243-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0bfc4fbba11092c68ae0767cede9c8b40e321a844f13e1c3258639491698f7f
|
|
| MD5 |
6254bc73f85f4fbca0a43b8b7bd9522d
|
|
| BLAKE2b-256 |
c65a6e0a51684e945acbc62a884bc7a995615feb9f9f65c85a4f1f6f9e38f804
|