Skip to main content

VintageConsoleInfo

PyPI version License: MIT Downloads LinkedIn

A Python package for extracting structured information about vintage gaming consoles from unstructured user input. Ideal for collectors, enthusiasts, and restorers who need quick access to key details like hardware specs, game libraries, and historical context.


📦 Installation

Install the package via pip:

pip install vintageconsoleinfo

🚀 Features

  • Extracts structured data from textual descriptions of vintage consoles (e.g., Interton Video Computer 4000).
  • Supports customizable LLM backends (default: LLM7).
  • Uses regex pattern matching for reliable data extraction.
  • Works with OpenAI, Anthropic, Google, or any LangChain-compatible LLM.

🔧 Usage

Basic Usage (Default LLM7)

from vintageconsoleinfo import vintageconsoleinfo

# Example input about the Interton Video Computer 4000
user_input = """
The Interton Video Computer 4000 is a 1983 console with a Z80 CPU,
4KB RAM, and a built-in keyboard. It supports games like 'Space Invaders'
and 'Breakout'.
"""

response = vintageconsoleinfo(user_input)
print(response)  # Structured output (e.g., specs, games, etc.)

Custom LLM (e.g., OpenAI)

from langchain_openai import ChatOpenAI
from vintageconsoleinfo import vintageconsoleinfo

llm = ChatOpenAI(model="gpt-3.5-turbo")
response = vintageconsoleinfo(user_input, llm=llm)

Custom LLM (e.g., Anthropic)

from langchain_anthropic import ChatAnthropic
from vintageconsoleinfo import vintageconsoleinfo

llm = ChatAnthropic(model="claude-2")
response = vintageconsoleinfo(user_input, llm=llm)

Custom LLM (e.g., Google)

from langchain_google_genai import ChatGoogleGenerativeAI
from vintageconsoleinfo import vintageconsoleinfo

llm = ChatGoogleGenerativeAI(model="gemini-pro")
response = vintageconsoleinfo(user_input, llm=llm)

🔑 API Key Configuration

Default (LLM7)

  • Uses LLM7_API_KEY from environment variables or falls back to a default.
  • Free tier rate limits are sufficient for most use cases.
  • Get a free API key: LLM7 Registration.

Override API Key

response = vintageconsoleinfo(user_input, api_key="your_llm7_api_key")

📌 Parameters

Parameter Type Description
user_input str Text describing a vintage console (required).
api_key Optional[str] LLM7 API key (optional; defaults to env var).
llm Optional[BaseChatModel] Custom LangChain LLM (optional; defaults to ChatLLM7).

📝 Notes

  • The package uses LLM7 by default (via langchain_llm7).
  • For production use, ensure your LLM backend meets rate limits.
  • Extracted data follows a structured format (regex-based).

📜 License

MIT


📧 Support & Issues

Report bugs or request features at: 🔗 GitHub Issues


👤 Author

Eugene Evstafev 📧 hi@euegne.plus 🔗 GitHub: chigwell


Metadata

Release files for vintageconsoleinfo 2025.12.21163636

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

Source distribution (sdist)

Source distribution for vintageconsoleinfo 2025.12.21163636
File Size Uploaded
vintageconsoleinfo-2025.12.21163636.tar.gz 4.5 kB Details

Built distribution (wheel)

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

Total release size: 9.7 kB

Release files / vintageconsoleinfo-2025.12.21163636.tar.gz

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

Release files / vintageconsoleinfo-2025.12.21163636-py3-none-any.whl

Download URL vintageconsoleinfo-2025.12.21163636-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bae7c593302bd8cc13cba93989474ab4c2c1d8773a10a001f08fee2dbad361d
BLAKE2b-256 checksum
How to use checksums
6ccc9ef63e6f6815385514c2675e020b4027da5934e1c406703b1a3cbdb81766
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.21163636 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