finclaimvalid
finclaimvalid is a Python package that helps you assess the validity of financial or investment claims through natural language analysis. It interprets user queries and provides structured, concise responses based on historical data patterns. This tool is especially useful for financial advisors, educational platforms, or individual investors seeking quick, reliable insights without manual data searches.
Installation
Install the package via pip:
pip install finclaimvalid
Usage Example
Here's a basic example demonstrating how to use finclaimvalid with your own language model:
from finclaimvalid import finclaimvalid
# Using the default LLM7 model
response = finclaimvalid(user_input="Is the recent claim about stock growth valid?")
# Using a custom language model, e.g., OpenAI's ChatOpenAI
from langchain_openai import ChatOpenAI
llm = ChatOpenAI()
response = finclaimvalid(user_input="Is the recent claim about stock growth valid?", llm=llm)
Parameters
- user_input (str): The text query about the financial claim.
- llm (Optional[BaseChatModel]): An optional language model instance from langchain. If not provided, the default ChatLLM7 will be used.
- api_key (Optional[str]): Your API key for LLM7 services. If not provided, the package will look for the environment variable
LLM7_API_KEY. You can obtain a free key at https://token.llm7.io/.
Supported Language Models
- ChatLLM7 (default), from
langchain_llm7
You can also pass other models, such as:
from langchain_anthropic import ChatAnthropic
from finclaimvalid import finclaimvalid
llm = ChatAnthropic()
response = finclaimvalid(user_input="Check the validity of this claim.", llm=llm)
Notes
- The package adapts to various LLMs by accepting any compatible language model instance.
- Rate limits typically match the free tier of LLM7 but can be increased by applying for a higher quota using your API key.
- Your API key can be set via environment variable or directly passed as an argument.
License
This project is licensed under the MIT License.
Support
For issues or feature requests, please visit the GitHub issues page:
https://github.com/.../issues
Author
- Eugene Evstafev
Email: hi@eugene.plus
GitHub: @chigwell
Metadata
Release files for finclaimvalid 2025.12.21230358
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| finclaimvalid-2025.12.21230358.tar.gz | 4.6 kB | Without provenance | Details for finclaimvalid-2025.12.21230358.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| finclaimvalid-2025.12.21230358-py3-none-any.whl | Python 3 | none | any | Details for finclaimvalid-2025.12.21230358-py3-none-any.whl |
Total release size: 9.9 kB
Release files / finclaimvalid-2025.12.21230358.tar.gz
| Download URL | finclaimvalid-2025.12.21230358.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaef408cc5f60a3953d80b8953d81702138df82c076c47389cc1a01e3d12e6f1
|
|
BLAKE2b-256 checksum How to use checksums |
5073a6689a9ebe9e292cc2bc379eb2e06388440b4eabe9cf8ba4b675236086d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / finclaimvalid-2025.12.21230358-py3-none-any.whl
| Download URL | finclaimvalid-2025.12.21230358-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
549d5ab7a12db2b5813224cc1f66e668a46ebaef0e8ba5cc32a73f194d03be59
|
|
BLAKE2b-256 checksum How to use checksums |
9b94ea88053d38eba3fcc4ef8134f95ed72264d5beb746fdc9116bae61d15844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for finclaimvalid 2025.12.21230358
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.