A new package that analyzes user-provided text descriptions of their monthly expenses and income to generate a structured affordability assessment. It categorizes spending, identifies potential saving
Project description
BudgetScribe Package
A new package that analyzes user-provided text descriptions of their monthly expenses and income to generate a structured affordability assessment.
Overview
This package categorizes spending, identifies potential savings areas, and returns a clear breakdown of financial health without requiring sensitive data like bank statements. It helps users understand their budget can be optimized in a private, non-intrusive way.
Installation
pip install budgetscribe
Usage
from budgetscribe import budgetscribe
user_input = "I spend $500 on rent, $300 on groceries, and $200 on entertainment."
response = budgetscribe(user_input)
print(response)
Parameters
user_input: str : the user input text to processllm: Optional[BaseChatModel] : the langchain llm instance to use, if not provided the defaultChatLLM7will be used.api_key: Optional[str] : the api key forllm7, if not provided theLLM7_API_KEYenvironment variable will be used.
LLM Integration
This package uses ChatLLM7 from langchain_llm7 by default. However, developers can safely pass their own llm instance (based on https://docs.langchain.com) if they want to use another LLM.
For example, to use the openai LLM:
from langchain_openai import ChatOpenAI
from budgetscribe import budgetscribe
llm = ChatOpenAI()
response = budgetscribe(user_input, llm=llm)
or to use the anthropic LLM:
from langchain_anthropic import ChatAnthropic
from budgetscribe import budgetscribe
llm = ChatAnthropic()
response = budgetscribe(user_input, llm=llm)
or to use the google LLM:
from langchain_google_genai import ChatGoogleGenerativeAI
from budgetscribe import budgetscribe
llm = ChatGoogleGenerativeAI()
response = budgetscribe(user_input, llm=llm)
LLM7 Rate Limits
The default rate limits for LLM7 free tier are sufficient for most use cases of this package. However, if higher rate limits are needed, developers can pass their own api_key via environment variable LLM7_API_KEY or directly like budgetscribe(user_input, api_key="their_api_key").
To get a free API key, visit https://token.llm7.io/.
Documentation and Support
Issues and feature requests: https://github.com/chigwell/budgetscribe
Author: Eugene Evstafev (hi@eugene.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 budgetscribe-2025.12.21124349.tar.gz.
File metadata
- Download URL: budgetscribe-2025.12.21124349.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8423a16e43f8e2506d1f7a0cad9f51c3e145c7eb8cda8e84ce4207592a0f9c38
|
|
| MD5 |
54ba0833fe9ca157d9e2c5540c9fed89
|
|
| BLAKE2b-256 |
df1b02763a5ec296c3913549f8c1479f24100dd60a5ba06bf8ec17584f922b6a
|
File details
Details for the file budgetscribe-2025.12.21124349-py3-none-any.whl.
File metadata
- Download URL: budgetscribe-2025.12.21124349-py3-none-any.whl
- Upload date:
- Size: 5.2 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 |
d800e3686f1422c53e3a20c3cf7e8066e5700534c538d6f60a9e3d27e36c03f5
|
|
| MD5 |
5708c14544a3ef12e84e54abc71ea859
|
|
| BLAKE2b-256 |
428ade30e2187cc635a04c6d6dc49bd78357cb5bf74d193f8091a8b0a9b432a0
|