Skip to main content

A tool for collecting and vectorizing technical content from multiple sources and storing it in a QDrant vector database.

Project description

QDrant Loader

PyPI Python License: GPL v3

A powerful data ingestion engine that collects and vectorizes technical content from multiple sources for storage in QDrant vector database. Part of the QDrant Loader monorepo ecosystem.

For full setup and configuration, start with the documentation links below.

🚀 What It Does

  • Collects content from Git repositories, Confluence, JIRA, documentation sites, and local files
  • Converts files automatically from 20+ formats including PDF, Office docs, and images
  • Processes intelligently with smart chunking, metadata extraction, and change detection
  • Stores efficiently in QDrant vector database with optimized embeddings
  • Updates incrementally to keep your knowledge base current

🗄️ Supported Data Sources

Source Description Key Features
Git Code repositories and documentation Branch selection, file filtering, commit metadata
Confluence Cloud & Data Center/Server Space filtering, hierarchy preservation, attachment processing
JIRA Cloud & Data Center/Server Project filtering, issue tracking, attachment support
Public Docs External documentation sites CSS selector extraction, version detection
Local Files Local directories and files Glob patterns, recursive scanning, file type filtering

📄 File Conversion Support

Automatically converts diverse file formats using Microsoft's MarkItDown:

Supported Formats

  • Documents: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx)
  • Images: PNG, JPEG, GIF, BMP, TIFF (with optional OCR)
  • Archives: ZIP files with automatic extraction
  • Data: JSON, CSV, XML, YAML
  • Audio: MP3, WAV (transcription support)
  • E-books: EPUB format
  • And more: 20+ file types supported

For detailed source setup and conversion behavior, see:

  • Data source guides - Source-specific setup for Git, Confluence, Jira, local files, and public docs.
  • File conversion guide - Supported formats, conversion behavior, and practical tuning options.

Key Features

  • Automatic detection: Files are converted when enable_file_conversion: true
  • Attachment processing: Downloads and converts attachments from all sources
  • Fallback handling: Graceful handling when conversion fails
  • Metadata preservation: Original file information is maintained
  • Performance optimized: Configurable limits for size, timeouts, and throughput

🏗️ Architecture

Core Components

  • Source Connectors: Pluggable connectors for different data sources
  • File Processors: Conversion and processing pipeline for various file types
  • Chunking Engine: Intelligent text segmentation with configurable overlap
  • Embedding Service: Flexible embedding generation with multiple providers
  • State Manager: SQLite-based tracking for incremental updates
  • QDrant Client: Optimized vector storage and retrieval

Data Flow

Data Sources → File Conversion → Text Processing → Chunking → Embedding → QDrant Storage
	↓              ↓               ↓            ↓          ↓           ↓
Git Repos      PDF/Office      Preprocessing   Smart     OpenAI      Vector DB
Confluence     Images/Audio    Metadata        Chunks    Local       Collections
JIRA           Archives        Extraction      Overlap   Custom      Incremental
Public Docs    Documents       Filtering       Context   Providers   Updates
Local Files    20+ Formats     Cleaning        Tokens    Endpoints   State Tracking

🔍 Advanced Features

Incremental Updates

  • Change detection for all source types
  • Efficient synchronization with minimal reprocessing
  • State persistence across runs
  • Conflict resolution for concurrent updates

Performance Optimization

  • Batch processing for efficient embedding generation
  • Rate limiting to respect API limits
  • Parallel processing for multiple sources
  • Memory management for large datasets

Error Handling

  • Robust retry mechanisms for transient failures
  • Graceful degradation when sources are unavailable
  • Detailed logging for troubleshooting
  • Recovery strategies for partial failures

Implementation details for tuning and troubleshooting are covered in:

📦 Installation

pip install qdrant-loader

For detailed installation instructions, see:

⚙️ Configuration

For detailed configuration setup, see:

🧪 CLI

qdrant-loader --help

⚡ Quick Start

# Initialize collection and metadata structures
qdrant-loader init --workspace .

# Ingest from configured projects/sources
qdrant-loader ingest --workspace .

# Check workspace status
qdrant-loader project --workspace . status

For full workspace bootstrapping (.env, config.yaml, and source templates), see Quick start.

📚 Documentation

  • Getting Started - Quick start and core concepts
  • Monorepo overview - Project structure, packages, and top-level navigation across the repository.
  • Quick start - Fast setup path from install to first successful ingestion.
  • User Guides - Detailed usage instructions
  • Developer hub - Developer guides for architecture, testing, deployment, and contribution workflows.

🆘 Support

🤝 Contributing

See CONTRIBUTING - Contribution guidelines, development standards, and pull request process.

📄 License

This project is licensed under the GNU GPLv3 - see the LICENSE file for details.


Ready to get started? Check out our Quick Start Guide or browse the complete documentation.

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

qdrant_loader-1.0.3.tar.gz (308.7 kB view details)

Uploaded Source

Built Distribution

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

qdrant_loader-1.0.3-py3-none-any.whl (408.5 kB view details)

Uploaded Python 3

File details

Details for the file qdrant_loader-1.0.3.tar.gz.

File metadata

  • Download URL: qdrant_loader-1.0.3.tar.gz
  • Upload date:
  • Size: 308.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qdrant_loader-1.0.3.tar.gz
Algorithm Hash digest
SHA256 08f71c4d49c4ace1a24050f4683ab97785a1f53418a6c7690db9e66c45fce1d4
MD5 41a88f19ceaca4c452f222470b062f98
BLAKE2b-256 c3e3ebd23d56777fead2872f55bcdeaca82b2d3a20105e2a5b813684ede04db7

See more details on using hashes here.

Provenance

The following attestation bundles were made for qdrant_loader-1.0.3.tar.gz:

Publisher: publish.yml on martin-papy/qdrant-loader

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

File details

Details for the file qdrant_loader-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: qdrant_loader-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 408.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qdrant_loader-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5cef34a3b777b2877d18b9c460d05c03d82f6a35f73e3064406195514a7b38e2
MD5 841c04c84beff5d08302e73d13e58a80
BLAKE2b-256 6f280f5c7764dfa2b1a6e973a86dd05c97fd9633dd6c903dabbff345c040518a

See more details on using hashes here.

Provenance

The following attestation bundles were made for qdrant_loader-1.0.3-py3-none-any.whl:

Publisher: publish.yml on martin-papy/qdrant-loader

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

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