Skip to main content

text_theme_scribe

PyPI version License: MIT Downloads LinkedIn

A package that analyzes user-provided text to identify and extract recurring themes or topics, then summarizes them into a structured list of key concepts.

Installation

To install the package, use pip:

pip install text-theme_scribe

Usage

To use the package, import the text_theme_scribe function and call it with a string input:

from text_theme_scribe import text_theme_scribe

user_input = "This is a sample text with multiple themes..."
response = text_theme_scribe(user_input)
print(response)

Parameters

  • user_input: str, the user input text to process
  • llm: Optional[BaseChatModel], the langchain LLM instance to use (default: ChatLLM7 from langchain_llm7 https://pypi.org/project/langchain_llm7/)
  • api_key: Optional[str], the API key for llm7 (default: environment variable LLM7_API_KEY)

You can pass a custom LLM instance by passing it as the llm parameter. For example:

from text_theme_scribe import text_theme_scribe
from langchain_openai import ChatOpenAI

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

You can also pass a custom API key by setting the LLM7_API_KEY environment variable or by passing it directly:

import os
os.environ["LLM7_API_KEY"] = "your_api_key"
response = text_theme_scribe(user_input)

If you want to use a different LLM, you can use a different API key:

response = text_theme_scribe(user_input, api_key="your_api_key")

Default LLM and API Key

By default, the package uses the ChatLLM7 from langchain_llm7 https://pypi.org/project/langchain_llm7/ and the free tier API key. If you want to use a different LLM or has higher rate limits, you can pass a custom LLM instance or API key.

Rate Limits

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you need higher rate limits, you can pass your own API key via environment variable LLM7_API_KEY or by passing it directly.

Author

Eugene Evstafev

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

GitHub Issues

If you find any issues or have any questions, please open an issue on our GitHub repository: https://github.com/chigwell/text-theme_scribe

Metadata

Release files for text-theme-scribe 2025.12.21184024

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

Source distribution (sdist)

Source distribution for text-theme-scribe 2025.12.21184024
File Size Uploaded
text_theme_scribe-2025.12.21184024.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for text-theme-scribe 2025.12.21184024
File Interpreter ABI Platform
text_theme_scribe-2025.12.21184024-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / text_theme_scribe-2025.12.21184024.tar.gz

Download URL text_theme_scribe-2025.12.21184024.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0fea946104a7da8a61346180d733b7f3670954241c08d00f547eb7efceb4f22a
BLAKE2b-256 checksum
How to use checksums
3173ba8644fc200f4d168efd6400a322f89cceadbe9df4a04ec87c08aeb09d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / text_theme_scribe-2025.12.21184024-py3-none-any.whl

Download URL text_theme_scribe-2025.12.21184024-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3677a195e01970ee72c3a16e5c49f69d4ea8937ac39db74226ffb65c962e0aa4
BLAKE2b-256 checksum
How to use checksums
a3c5a12269b0493799a1a2684986758714f079c2e91d38d780ac53f8b422246a
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.21184024 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