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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maria_summarize_text_ai_assistant-0.1.5.tar.gz.
File metadata
- Download URL: maria_summarize_text_ai_assistant-0.1.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3821b9145fb3691b9da8260f3c3448aa5820b0b3dbe545f6f664f1f0a4dd7bf6
|
|
| MD5 |
5fec39921e7bcc4288446e7fc73afff3
|
|
| BLAKE2b-256 |
ebe1e2bebb7c178d2ee8a321c0943d969407a8e8666d00ec4a9058f35402b0ca
|
File details
Details for the file maria_summarize_text_ai_assistant-0.1.5-py3-none-any.whl.
File metadata
- Download URL: maria_summarize_text_ai_assistant-0.1.5-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8631c4826842fdefb819e1965311a9e4b1cbb75b25f8eba7cce137eca42f2a3b
|
|
| MD5 |
bd8b604e4aeb81fe958756536facc58a
|
|
| BLAKE2b-256 |
de7e55754e9fcb2ff5405913d761dfa728cd8bbceb3c9e4aa233362916ceb128
|