Skip to main content

Access computer science history by year, including major breakthroughs, research papers, and technological advancements.

Project description

cs_year_explorer

PyPI version License: MIT Downloads LinkedIn

A Python package that provides a structured summary of key developments in computer science for a given year. Quickly access concise and relevant information about major breakthroughs, notable research papers, technological advancements, and influential events in CS history.


📦 Installation

Install the package using pip:

pip install cs_year_explorer

🚀 Usage

Basic Usage (uses default LLM7 model)

from cs_year_explorer import cs_year_explorer

# Example: Get CS developments for the year 2023
response = cs_year_explorer("2023")
print(response)

Custom LLM Integration

You can replace the default LLM (ChatLLM7) with any LangChain-compatible model:

Using OpenAI

from langchain_openai import ChatOpenAI
from cs_year_explorer import cs_year_explorer

llm = ChatOpenAI()
response = cs_year_explorer("2020", llm=llm)
print(response)

Using Anthropic

from langchain_anthropic import ChatAnthropic
from cs_year_explorer import cs_year_explorer

llm = ChatAnthropic()
response = cs_year_explorer("2019", llm=llm)
print(response)

Using Google Generative AI

from langchain_google_genai import ChatGoogleGenerativeAI
from cs_year_explorer import cs_year_explorer

llm = ChatGoogleGenerativeAI()
response = cs_year_explorer("2022", llm=llm)
print(response)

🔧 Parameters

Parameter Type Description
user_input str The year (e.g., "2023") or query to analyze (e.g., "major CS events in 2020")
api_key Optional[str] LLM7 API key (default: fetched from LLM7_API_KEY environment variable)
llm Optional[BaseChatModel] Custom LangChain LLM instance (default: ChatLLM7)

🔑 API Key

  • Default LLM: Uses ChatLLM7 from langchain_llm7.
  • Free Tier: Sufficient for most use cases.
  • Custom API Key: Pass via environment variable LLM7_API_KEY or directly:
    cs_year_explorer("2021", api_key="your_api_key_here")
    
  • Get a Free Key: Register at https://token.llm7.io/.

📜 Features

  • Structured summary of major CS breakthroughs for any year.
  • Covers research papers, tech advancements, and influential events.
  • Works with multiple LLM providers (OpenAI, Anthropic, Google, etc.).
  • Regex-validated output for consistency.

📝 Example Output

For cs_year_explorer("2023"), the response might include:

[
    "2023: Foundation Models Breakthroughs",
    "   - GPT-4 released by OpenAI (March)",
    "   - Claude 2 by Anthropic (July)",
    "   - Research papers: 'Scaling Laws' (Kaplan et al.)",
    "2023: Quantum Computing Milestones",
    "   - IBM's 433-qubit Osprey processor",
    "   - Google's error-corrected logical qubit demo"
]

🔧 Dependencies

  • Python 3.8+
  • langchain-core, langchain_llm7 (default), or any LangChain-compatible LLM.

📢 Support & Issues

For bugs or feature requests, open an issue on GitHub.


👤 Author


📜 License

MIT License (see LICENSE).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cs_year_explorer-2025.12.21200620.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cs_year_explorer-2025.12.21200620-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file cs_year_explorer-2025.12.21200620.tar.gz.

File metadata

File hashes

Hashes for cs_year_explorer-2025.12.21200620.tar.gz
Algorithm Hash digest
SHA256 5a9df3a76b2e7c26f8f2dfe5fe5e59f3a68af322d2c2f01d61df6dab8e6c8180
MD5 657ab8c97cf386b2adb08725905d5efd
BLAKE2b-256 16cd939c19ed2d3ab823ea3799ef191ab03656451baf853f989d05bc56501602

See more details on using hashes here.

File details

Details for the file cs_year_explorer-2025.12.21200620-py3-none-any.whl.

File metadata

File hashes

Hashes for cs_year_explorer-2025.12.21200620-py3-none-any.whl
Algorithm Hash digest
SHA256 53390a3e5ccb50633d48fea2e79dba1277428b2f01f6b77cb21f2450f5dba29d
MD5 236ce5f2a0fd976c22a332ffced81226
BLAKE2b-256 ec6fe2c65a7085f772b95eebeb6a6dce93c7b8a142952e409e16ec99e8b52753

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page