Skip to main content

Digestify

Digestify is a Python library that generates comprehensive news digests and content summaries for specific topics using OpenAI and the WebQuest MCP server. It intelligently gathers latest updates, including processing video transcripts, to provide structured summaries.

Installation

Installing using pip:

pip install digestify

Installing using uv:

uv add digestify

Configuration

Digestify requires the following environment variables to be set (either in your environment or a .env file):

  • OPENAI_API_KEY: Your OpenAI API key.
  • WEBQUEST_MCP_ACCESS_TOKEN: Access token for the WebQuest MCP server.
  • WEBQUEST_MCP_URL: URL for the WebQuest MCP server.
  • OPENAI_MODEL: (Optional) The OpenAI model to use (default: "gpt-5.2").
  • MAX_TOOL_CALLS: (Optional) Maximum number of tool calls allowed (default: 5).
  • MAX_OUTPUT_TOKENS: (Optional) Maximum number of tokens for the output (default: 100000).

Usage

Here is a simple example of how to use Digestify to get a digest for a topic:

import asyncio
from digestify import Digestify, Topic

async def main():
    # Define the topic you want a digest for
    topic = Topic(
        name="Artificial Intelligence",
        description="Latest advancements in AI, machine learning, and LLMs."
    )

    # Initialize the client (automatically loads settings from env/files)
    client = Digestify()

    # Get the digest
    digest = await client.get_stories(topic)

    # Print stories
    for story in digest.stories:
        print(f"Title: {story.title}")
        print(f"Published: {story.published_at}")
        print(f"Summary: {story.content}")
        print("References:")
        for url in story.reference_urls:
            print(f"- {url}")
        print("-" * 20)

if __name__ == "__main__":
    asyncio.run(main())

Metadata

Release files for digestify 0.1.3

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

Source distribution (sdist)

Source distribution for digestify 0.1.3
File Size Uploaded Provenance
digestify-0.1.3.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / digestify-0.1.3.tar.gz

Download URL digestify-0.1.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8fef08c96fcc34a8e5503d377ab93de4465bd974a17476f9f64b44849222e479
BLAKE2b-256 checksum
How to use checksums
ea7d9fe19dfcc8265b91435b755d3bf7367de37f747b771f7234396b0cf8cb1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.1

Release files / digestify-0.1.3-py3-none-any.whl

Download URL digestify-0.1.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fe30adaf3a2ce4b3347857a4714e0331bcd5deca06af855156899fa5d2dea83
BLAKE2b-256 checksum
How to use checksums
15b6b6ddafa8a91d5bbfbad666be3e59349137a4f5b6efddc77793adb2d8c630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.1

Security for digestify 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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