Skip to main content

A simple AI-powered text summarization helper using Groq API.

Project description

maria_summarize_text_ai_assistant

A simple Python library to summarize long text using an AI API (Groq).

Features

  • AI-powered text summarization
  • Clean API design
  • Docstrings included
  • Easy to use in Flask or any Python app

Installation

After uploading to PyPI:

pip install maria_summarize_text_ai_assistant
pip install groq python-dotenv

Usage

import os
from maria_summarize_text_ai_assistant import summarize_text

# Set your API key in environment
os.environ["GROQ_API_KEY"] = "YOUR_GROQ_API_KEY"

long_text = "Artificial intelligence is transforming industries..."
summary = summarize_text(long_text)
print(summary)

Next Steps

Update setup.py version number.

Rebuild your package:

python setup.py sdist bdist_wheel

Upload to PyPI:

python -m twine upload dist/*

In your Flask app, just set the GROQ_API_KEY environment variable — your code will work seamlessly.

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

maria_summarize_text_ai_assistant-0.1.5.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file maria_summarize_text_ai_assistant-0.1.5.tar.gz.

File metadata

File hashes

Hashes for maria_summarize_text_ai_assistant-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3821b9145fb3691b9da8260f3c3448aa5820b0b3dbe545f6f664f1f0a4dd7bf6
MD5 5fec39921e7bcc4288446e7fc73afff3
BLAKE2b-256 ebe1e2bebb7c178d2ee8a321c0943d969407a8e8666d00ec4a9058f35402b0ca

See more details on using hashes here.

File details

Details for the file maria_summarize_text_ai_assistant-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for maria_summarize_text_ai_assistant-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8631c4826842fdefb819e1965311a9e4b1cbb75b25f8eba7cce137eca42f2a3b
MD5 bd8b604e4aeb81fe958756536facc58a
BLAKE2b-256 de7e55754e9fcb2ff5405913d761dfa728cd8bbceb3c9e4aa233362916ceb128

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