Skip to main content

archaeo-summarizer extracts structured summaries from archaeological and historical texts, highlighting key findings and cultural developments for efficient research.

Project description

archaeo_summarizer

PyPI version License: MIT Downloads LinkedIn

Overview

A package designed to extract structured summaries from textual inputs related to archaeological and historical research. Users provide descriptive or analytical text, and the package generates concise, organized summaries that highlight key findings, cultural developments, or migration patterns.

Features

  • Process complex textual sources to transform narrative data into standardized, digestible formats
  • Streamline the creation of structured insights from textual inputs
  • Ensure privacy and data safety by only processing text
  • Support effective data comparison and analysis across studies

Installation

pip install archaeo_summarizer

Usage

from archaeo_summarizer import archaeo_summarizer

response = archaeo_summarizer(
    user_input="Text to process",
    llm=None,  # Optional: Provide a langchain llm instance to use
    api_key=None  # Optional: Provide an LLM7 api key if not using the default rate limits
)
print(response)

You can safely pass your own llm instance (based on https://docs.langchain.com/) if you want to use a different LLM.

from langchain_openai import ChatOpenAI
from archaeo_summarizer import archaeo_summarizer

llm = ChatOpenAI()
response = archaeo_summarizer(llm=llm)
print(response)

or for example to use the anthropic https://docs.langchain.anthropic.com/

from langchain_anthropic import ChatAnthropic
from archaeo_summarizer import archaeo_summarizer

llm = ChatAnthropic()
response = archaeo_summarizer(llm=llm)
print(response)

or google https://docs.langchain.google.com/

from langchain_google_genai import ChatGoogleGenerativeAI
from archaeo_summarizer import archaeo_summarizer

llm = ChatGoogleGenerativeAI()
response = archaeo_summarizer(llm=llm)
print(response)

The default rate limits for LLM7 free tier should be sufficient for most use cases of this package. If you need higher rate limits for LLM7, you can pass your own api key via environment variable LLM7_API_KEY or via passing it directly like archaeo_summarizer(api_key="your_api_key"). You can get a free api key by registering at https://token.llm7.io/.

Credits

Issues

License

Please see [MIT] for license details.

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

archaeo_summarizer-2025.12.21192749.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

archaeo_summarizer-2025.12.21192749-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file archaeo_summarizer-2025.12.21192749.tar.gz.

File metadata

File hashes

Hashes for archaeo_summarizer-2025.12.21192749.tar.gz
Algorithm Hash digest
SHA256 72b788aa069ccda9c4b96dc884286007ac5920667c26d10722ae114b9a3a6b81
MD5 b692875e529c08a75fb2f41c2197036f
BLAKE2b-256 3a9f1e05c5b4a8b57be534aca818a5982efaa81e983685bbcd84a752c3cf6c5e

See more details on using hashes here.

File details

Details for the file archaeo_summarizer-2025.12.21192749-py3-none-any.whl.

File metadata

File hashes

Hashes for archaeo_summarizer-2025.12.21192749-py3-none-any.whl
Algorithm Hash digest
SHA256 e521f43f2fba7a4746b8fd414de7e73c23c531b4faa1eac740d46737842cb922
MD5 4487fd062bc5429f04e60110e65ca865
BLAKE2b-256 32f27a55d0da516a25555da63c7d10dbad3e190cddb783fbe014c4c4e756cbe9

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