🧠 Intelliparse
Smart File Parsing & Content Extraction Made Simple
Intelliparse is your all-in-one solution to extract text, images, tables, and metadata from various file formats - from common documents to complex CAD drawings. Powered by AI for intelligent content understanding. 🚀
from intelliparse.parsers import FileParser
from intelliparse.types import RawFile
# Parse any file with AI-powered insights
file = RawFile.from_path("contract.pdf")
parser = FileParser()
parsed_file = parser.parse(file)
print(f"🔍 Found {len(parsed_file.sections)} sections!")
print(f"📄 Text: {parsed_file.sections[0].text[:200]}...")
🌟 Features
- Common File Formats supported (PDF, DOCX, PPT, Images, Audio, Video, CAD, and more)
- AI-Powered Insights - Automatic image descriptions, audio transcriptions, and content analysis
- Military-Grade Extraction (WIP) - Text, tables, images, metadata, and document structure
- Easy Extension - Add custom parsers in <10 lines of code
📦 Installation
# Install core library
pip install intelliparse
# Install system dependencies (choose your OS)
# Ubuntu/Debian
sudo apt-get install libmagic1
# macOS
brew install libmagic
# Windows (via Chocolatey)
choco install magic
🚀 Basic Usage
Parse Any File
file = RawFile.from_bytes(b"file content", "secret_data.xlsx")
parsed = FileParser().parse(file) # ParsedFile
for section in parsed.sections:
print(f"Section {section.number}:")
print(f"- Text: {section.text[:100]}...")
print(f"- Found {len(section.images)} images!")
Extract Tables
table_data = parsed.sections[0].items[0]
if isinstance(table_data, TablePageItem):
print("📊 Perfect Table Found!")
print("\n".join(table_data.csv.split("\n")[:3]))
🔍 Advanced Usage
AI-Powered Parsing
from intellibricks.agents import Agent
from intellibricks.llms import TextTranscriptionSynapse, Synapse
from intellibricks.llms.types import (
GenerationConfig,
ChainOfThought,
VisualMediaDescription,
AudioDescription
)
# Use AI to describe images and transcribe audio
parser = FileParser(
strategy="high",
visual_description_agent=Agent(
task="Detailed description of visual elements.",
instructions=[
"Describe the provided visual elements in a"
"detailed manner, following the instructions."
"Descriptions must be in Portuguese.",
],
metadata={
"name": "Visual Elements Descriptor",
"description": "Description of visual elements in Portuguese.",
},
synapse=Synapse.of("google/genai/gemini-1.5-flash"),
response_model=ChainOfThought[VisualMediaDescription],
output_language="en",
generation_config=GenerationConfig(timeout=60, max_retries=1),
),
audio_description_agent=Agent(
task="Audio transcription",
instructions=[
"Transcribe the provided audio in a"
"clear and precise manner, following the instructions."
"Transcriptions must be in Portuguese.",
],
metadata={
"name": "Audio Transcriber",
"description": "Audio transcription in Portuguese.",
},
synapse=Synapse.of("google/genai/gemini-1.5-flash"),
audio_transcriptions_synapse=TextTranscriptionSynapse.of(
"groq/api/whisper-large-v3-turbo"
),
response_model=ChainOfThought[AudioDescription],
),
)
parsed = parser.parse(RawFile.from_path("presentation.mp4"))
print(f"📽 Video Description: {parsed.md}")
📚 Supported Formats
| Category | Formats |
|---|---|
| Documents | PDF, DOCX, PPTX, XLSX, TXT, XML |
| Images | PNG, JPG, TIFF, BMP, GIF, SVG, WEBP, |
| Audio/Video | MP3, WAV, FLAC, AAC, MP4, AVI, MOV, |
| CAD/Design | DWG |
| Archives | ZIP, RAR, 7Z, TAR, GZ |
| Specialized | PKT (Cisco - TODO), |
🤝 Contributing
We welcome contributors! To get started:
git clone https://github.com/arthurbrenno/intelliparse.git
cd intelliparse
uv sync
Run tests (TODO. Will work like this):
pytest tests/ --verbose
📜 License
Apache 2.0 - Made with ❤️ by Arthur Brenno
Metadata
Release files for intelliparse 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| intelliparse-0.0.5.tar.gz | 69.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| intelliparse-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.4 kB
Release files / intelliparse-0.0.5.tar.gz
| Download URL | intelliparse-0.0.5.tar.gz |
|---|---|
| Size | 69.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55d1de3fc3c47e4263f25d07d497ece1090d7fea596b5bad66fb8d47d96a3cde
|
|
BLAKE2b-256 checksum How to use checksums |
797578b57c1abf1010e97de143dfb89f7745f5640cd991aae4300f87a525a423
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / intelliparse-0.0.5-py3-none-any.whl
| Download URL | intelliparse-0.0.5-py3-none-any.whl |
|---|---|
| Size | 35.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f3cfc15fdbfab05b00d76a1bf6ae55aef7fcc91b4f41f7559809751c2aa500b
|
|
BLAKE2b-256 checksum How to use checksums |
b66ea18aef6e44cec8d2e084970e402d80a978430c21972bec85bd210a3f0eda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Security for intelliparse 0.0.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.