Skip to main content

ProphecyPerfect

PyPI version License: MIT Downloads LinkedIn

A Python package for analyzing and verifying if textual statements correctly express prophetic or visionary statements in the perfect tense.

Installation

pip install prophecyperfect

Overview

The prophecyperfect package takes a brief textual description, prompt, or statement from the user and analyzes it to determine if it correctly expresses a prophetic or visionary statement in the perfect tense. Using pattern matching and structured responses, it classifies the input as prophetic, reaffirming its status, or identifies inaccuracies or non-prophetic phrasing.

Usage

Basic Usage

from prophecyperfect import prophecyperfect

# Analyze a prophetic statement
user_input = "Thus saith the Lord: I will surely bless you, and I will multiply you exceedingly."
response = prophecyperfect(user_input)
print(response)

Using Custom LLM

You can also use your own LLM instance from LangChain. Here are examples with different providers:

OpenAI

from langchain_openai import ChatOpenAI
from prophecyperfect import prophecyperfect

llm = ChatOpenAI()
response = prophecyperfect(user_input, llm=llm)

Anthropic

from langchain_anthropic import ChatAnthropic
from prophecyperfect import prophecyperfect

llm = ChatAnthropic()
response = prophecyperfect(user_input, llm=llm)

Google

from langchain_google_genai import ChatGoogleGenerativeAI
from prophecyperfect import prophecyperfect

llm = ChatGoogleGenerativeAI()
response = prophecyperfect(user_input, llm=llm)

API Key Configuration

The default rate limits for LLM7 free tier are sufficient for most use cases. If you need higher rate limits, you can:

  1. Set the API key as an environment variable:
export LLM7_API_KEY="your_api_key_here"
  1. Or pass it directly to the function:
response = prophecyperfect(user_input, api_key="your_api_key_here")

You can obtain a free API key by registering at https://token.llm7.io/

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, it will use the environment variable LLM7_API_KEY or the default free tier.

Author

Issues

For any issues or to contribute, please visit the GitHub repository: https://github.com/chigwell/prophecyperfect

Metadata

Release files for prophecyperfect 2025.12.21163318

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

Source distribution (sdist)

Source distribution for prophecyperfect 2025.12.21163318
File Size Uploaded
prophecyperfect-2025.12.21163318.tar.gz 4.2 kB Details

Built distribution (wheel)

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

Total release size: 9.0 kB

Release files / prophecyperfect-2025.12.21163318.tar.gz

Download URL prophecyperfect-2025.12.21163318.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
11edd2e5fd86b5db17cafa253137794dd4b11fdfd97a8a2525611f98d6528ade
BLAKE2b-256 checksum
How to use checksums
2eebc8f1dece32ad22a49e2d9f8f4d1932fbac8a56af401cd3f6dd2df938ff18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / prophecyperfect-2025.12.21163318-py3-none-any.whl

Download URL prophecyperfect-2025.12.21163318-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b4425181c9c906822ff3aea50526770775084f0b4816550ab2608ab0421c0a7
BLAKE2b-256 checksum
How to use checksums
06ab1358e55c909825581ff219dde4453fa65f0a1ae955f9f0994f24a273e07e
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.21163318 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