Skip to main content

BudgetScribe Package

PyPI version License: MIT Downloads LinkedIn

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 process
  • llm: Optional[BaseChatModel] : the langchain llm instance to use, if not provided the default ChatLLM7 will be used.
  • api_key: Optional[str] : the api key for llm7, if not provided the LLM7_API_KEY environment 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)

Metadata

Release files for budgetscribe 2025.12.21124349

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for budgetscribe 2025.12.21124349
File Size Uploaded
budgetscribe-2025.12.21124349.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for budgetscribe 2025.12.21124349
File Interpreter ABI Platform
budgetscribe-2025.12.21124349-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / budgetscribe-2025.12.21124349.tar.gz

Download URL budgetscribe-2025.12.21124349.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8423a16e43f8e2506d1f7a0cad9f51c3e145c7eb8cda8e84ce4207592a0f9c38
BLAKE2b-256 checksum
How to use checksums
df1b02763a5ec296c3913549f8c1479f24100dd60a5ba06bf8ec17584f922b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / budgetscribe-2025.12.21124349-py3-none-any.whl

Download URL budgetscribe-2025.12.21124349-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d800e3686f1422c53e3a20c3cf7e8066e5700534c538d6f60a9e3d27e36c03f5
BLAKE2b-256 checksum
How to use checksums
428ade30e2187cc635a04c6d6dc49bd78357cb5bf74d193f8091a8b0a9b432a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

2025.12.21124349 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page