Skip to main content

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

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_parrot_loaders-0.2.1.tar.gz (136.4 kB view details)

Uploaded Source

Built Distribution

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

ai_parrot_loaders-0.2.1-py3-none-any.whl (140.9 kB view details)

Uploaded Python 3

File details

Details for the file ai_parrot_loaders-0.2.1.tar.gz.

File metadata

  • Download URL: ai_parrot_loaders-0.2.1.tar.gz
  • Upload date:
  • Size: 136.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ai_parrot_loaders-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d1e6066c06c877aaeb56196b333dc2add0ada93e1204c677d3c74d109ec56772
MD5 edf042c110115a4b2a455a83b6cd2f23
BLAKE2b-256 120d7abceb22b4bb3878c8c6c3a4d38dd6f6cf94712abdfa335af70e0757984b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_loaders-0.2.1.tar.gz:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_parrot_loaders-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_parrot_loaders-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 249cb92097dba867780b953fc7aac792a51dcf25b1feb45d555579b839b78a5c
MD5 caa62f5551512704a3942923d59f941b
BLAKE2b-256 7683f5078ad3a8528c821621f37119e7cff2496065fa45e69bb62f2a8427ad94

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_loaders-0.2.1-py3-none-any.whl:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.1 This release

2 files

0.2.0

1 file

0.1.90

2 files

0.1.89

2 files

0.1.88

2 files

0.1.87

1 file

0.1.86

2 files

0.1.85

2 files

0.1.83

1 file

0.1.82

1 file

0.1.81

2 files

0.1.80

2 files

0.1.79

2 files

0.1.76

2 files

0.1.75

2 files

0.1.74

2 files

0.1.73

2 files

0.1.72

2 files

0.1.71

2 files

0.1.70

2 files

0.1.68

2 files

0.1.67

2 files

0.1.66

2 files

0.1.65

2 files

0.1.64

2 files

0.1.63

2 files

0.1.62

2 files

0.1.61

2 files

0.1.60

2 files

0.1.59

2 files

0.1.58

2 files

0.1.57

2 files

0.1.55

2 files

0.1.54

2 files

0.1.53

2 files

0.1.52

2 files

0.1.51

2 files

0.1.50

2 files

0.1.49

2 files

0.1.48

2 files

0.1.47

2 files

0.1.46

2 files

0.1.45

2 files

0.1.44

2 files

0.1.43

2 files

0.1.42

2 files

0.1.41

2 files

0.1.40

2 files

0.1.39

2 files

0.1.37

2 files

0.1.35

2 files

0.1.34

2 files

0.1.33

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.28

2 files

0.1.27

2 files

0.1.26

2 files

0.1.25

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

1 file

0.1.21

1 file

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.8

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page