AI-Parrot Loaders
ai-parrot-loaders provides document loaders for AI-Parrot RAG (Retrieval-Augmented Generation) pipelines. Each loader transforms a specific document format into text chunks that can be embedded and searched.
Installation
pip install ai-parrot-loaders
Install only the extras you need:
pip install ai-parrot-loaders[pdf]
pip install ai-parrot-loaders[youtube]
pip install ai-parrot-loaders[audio]
pip install ai-parrot-loaders[web]
# Everything
pip install ai-parrot-loaders[all]
Available Extras
| Extra | Description |
|---|---|
pdf |
PDF loading with OCR support (PaddleOCR) |
youtube |
YouTube transcript and video download |
audio |
Audio transcription (WhisperX, pyannote) |
web |
HTML/web page loading |
ebook |
EPUB e-book loading |
video |
Video processing (MoviePy, FFmpeg) |
Supported Formats
| Loader | Format | Description |
|---|---|---|
TextLoader |
.txt |
Plain text files |
CSVLoader |
.csv |
CSV files |
ExcelLoader |
.xlsx, .xls |
Excel spreadsheets |
MSWordLoader |
.docx |
Microsoft Word documents |
HTMLLoader |
.html |
HTML files |
MarkdownLoader |
.md |
Markdown files |
PDFLoader |
.pdf |
PDF documents |
PDFMarkdownLoader |
.pdf |
PDF to Markdown conversion |
PDFTablesLoader |
.pdf |
PDF table extraction |
PowerPointLoader |
.pptx |
PowerPoint presentations |
EpubLoader |
.epub |
EPUB e-books |
WebLoader |
URL | Web pages |
YoutubeLoader |
URL | YouTube video transcripts |
VimeoLoader |
URL | Vimeo video transcripts |
AudioLoader |
.mp3, .wav, etc. |
Audio transcription |
VideoLoader |
URL | Video download + transcription |
VideoLocalLoader |
.mp4, etc. |
Local video transcription |
DocumentConverterLoader |
multiple | Auto-detect format and convert |
Quick Start
from parrot_loaders.factory import get_loader_class
# Auto-detect loader by file extension
LoaderClass = get_loader_class("report.pdf")
loader = LoaderClass(source="report.pdf")
documents = await loader.load()
for doc in documents:
print(doc.page_content[:200])
Or use a specific loader directly:
from parrot_loaders.youtube import YoutubeLoader
loader = YoutubeLoader(source="https://www.youtube.com/watch?v=...")
documents = await loader.load()
Requirements
- Python >= 3.11
- ai-parrot >= 0.23.18
License
MIT
Metadata
Release files for ai-parrot-loaders 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_parrot_loaders-0.3.1.tar.gz | 136.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_parrot_loaders-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 277.3 kB
Release files / ai_parrot_loaders-0.3.1.tar.gz
| Download URL | ai_parrot_loaders-0.3.1.tar.gz |
|---|---|
| Size | 136.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cab18dbb80dde553029f47e7d14b920a6acc0f6e0e94c8a6d1277b9a6aabd07c
|
|
BLAKE2b-256 checksum How to use checksums |
a18c83bcead3d14894c57dcada460ce60d6a5cfa973d7cd90f41193e23cf8f77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / ai_parrot_loaders-0.3.1-py3-none-any.whl
| Download URL | ai_parrot_loaders-0.3.1-py3-none-any.whl |
|---|---|
| Size | 140.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4bdf77874538da31a374229248ea15d8bd8944882df651d06fee599bc2ccd7e
|
|
BLAKE2b-256 checksum How to use checksums |
c026e76b2a4800670e41539bedade0bedfec3fb6c237b8b3580336466563f6fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency log