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.3.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.3-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: allyin-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8edf63f2541bd078327698816beeca34e91b113c47f2219e3b1e271effc22cef
MD5 11275c857b0f5282277b367282cd7f48
BLAKE2b-256 2473486cd7f64885c27a0c33856aca0d4d73d76685a0fe9ff6e701dc0fef6edd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: allyin-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 988105466c03deaa20ec2245593d96736f30d31a69180f69391b5b6bb426ce8e
MD5 dff776ca873feeeeb55a46c90a717367
BLAKE2b-256 16e7f4dc58587bb3b8d454e24bf73f1ad8145987fc2fe75ea2ccca927414bf2c

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