Skip to main content

Allyin: Modular AI tools for enterprise data processing

Project description

Allyin Libraries

Multimodal2text 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.4.tar.gz (7.7 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.4-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file allyin-0.1.4.tar.gz.

File metadata

  • Download URL: allyin-0.1.4.tar.gz
  • Upload date:
  • Size: 7.7 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.4.tar.gz
Algorithm Hash digest
SHA256 e2c1e937a2196fdc634cea097ce0bc2ad854417033be75f2eb6e3925d5e27534
MD5 7c847373e761f933304329fffc80e56c
BLAKE2b-256 c189112338d01368d14748aded2363beed4c0fd1449814eba6086f0d39b16b1b

See more details on using hashes here.

File details

Details for the file allyin-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: allyin-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 21f189a32a1220fcfe7be0426c5f158b2334c62dc7167ac345713f96b7169102
MD5 05f34f028e436f70e172db772dba43c5
BLAKE2b-256 860d94c509cac1395bd785b411e53977aa912fd4e03e039f8124c0f3fa5a44d3

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