Skip to main content

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 ffmpeg for Whisper and tesseract for 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

allyin-0.1.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

allyin-0.1.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for allyin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 68fc4e67a6ce07e9627f76cc0eaa44edd1b2ecaee5181da202e1e71de723fb5c
MD5 d4dd2f32e82d267669c769212cce9622
BLAKE2b-256 da501d971454fbea347d0a1e91855201ddb5d795d40db3532d9bb20e43d5c40a

See more details on using hashes here.

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

Hashes for allyin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3f5242f4908dcf5393ed5a70eef5c2004a4150830d55380fc61db8b94cabfb
MD5 0fc77f018d51540a5331dd852f8730c6
BLAKE2b-256 24b475c9cf03af8f9525dd74379a5d1f60ad35c56e3d97185a7088949180bb91

See more details on using hashes here.

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