Allyin: Modular AI tools for enterprise data processing
Project description
Allyin: Modular Multimodal Extractor
Allyin is a Python library that extracts text from various file formats including PDFs, DOCX, XLSX, PPTX, images, HTML, and audio.
Installation
First, ensure that openai-whisper is installed (used for audio transcription):
pip install git+https://github.com/openai/whisper.git
Then install Allyin:
pip install allyin
Note: You may need to install system dependencies like
ffmpegfor Whisper andtesseractfor OCR.
Usage
Import
from allyin.multimodal2text import extract_text
Supported File Types
| Format | Description |
|---|---|
.pdf |
Extracts text from PDFs |
.docx |
Extracts text from Word |
.xlsx |
Extracts text from Excel |
.pptx |
Extracts text from Slides |
.png/jpg |
OCR-based text extraction |
.html |
Extracts visible content |
.mp3/.wav |
Transcribes audio |
Example
from allyin.multimodal2text import extract_text
result = extract_text("/path/to/your/file.pdf")
print(result["text"])
License
MIT
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 allyin-0.1.2.tar.gz.
File metadata
- Download URL: allyin-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68fc4e67a6ce07e9627f76cc0eaa44edd1b2ecaee5181da202e1e71de723fb5c
|
|
| MD5 |
d4dd2f32e82d267669c769212cce9622
|
|
| BLAKE2b-256 |
da501d971454fbea347d0a1e91855201ddb5d795d40db3532d9bb20e43d5c40a
|
File details
Details for the file allyin-0.1.2-py3-none-any.whl.
File metadata
- Download URL: allyin-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a3f5242f4908dcf5393ed5a70eef5c2004a4150830d55380fc61db8b94cabfb
|
|
| MD5 |
0fc77f018d51540a5331dd852f8730c6
|
|
| BLAKE2b-256 |
24b475c9cf03af8f9525dd74379a5d1f60ad35c56e3d97185a7088949180bb91
|