Kvell Extraction
A comprehensive text extraction tool that supports multiple file formats:
- PDF files
- Images (jpg, jpeg, png, bmp)
- Word documents (doc, docx, docm, dot, dotx, dotm)
- Excel files (xlsx, xls)
- PowerPoint presentations (pptx, potx)
Installation
pip install kvell-extraction
Usage
PDF Extraction
from kvell_extraction import PDFExtracter
pdf_extracter = PDFExtracter()
pdf_path = 'document.pdf'
texts = pdf_extracter(pdf_path)
print(texts)
Image Extraction
from kvell_extraction import ImageExtracter
img_extracter = ImageExtracter()
img_path = 'image.png'
texts = img_extracter(img_path)
print(texts)
Word Document Extraction
from kvell_extraction import DocExtracter
doc_extracter = DocExtracter()
doc_path = 'document.docx'
texts = doc_extracter(doc_path)
print(texts)
Excel Extraction
from kvell_extraction import ExcelExtracter
excel_extracter = ExcelExtracter()
excel_path = 'spreadsheet.xlsx'
texts = excel_extracter(excel_path)
print(texts)
PowerPoint Extraction
from kvell_extraction import PresentationExtracter
ppt_extracter = PresentationExtracter()
ppt_path = 'presentation.pptx'
texts = ppt_extracter(ppt_path)
print(texts)
Return Format
All extracters return a list of lists, where each inner list contains:
- Page/slide number (string)
- Extracted text (string)
- Confidence score (string, usually "1.0")
Metadata
Release files for kvell-extraction 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kvell_extraction-0.0.6.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kvell_extraction-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / kvell_extraction-0.0.6.tar.gz
| Download URL | kvell_extraction-0.0.6.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbb33bb66ae42542fb3d7469209d1371747cd207453cfff2abc8328deb20b63b
|
|
BLAKE2b-256 checksum How to use checksums |
6902e703b0d3025cfd0cea4bb490427ec68d5aa5df26d86c18fe29522e43c8f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / kvell_extraction-0.0.6-py3-none-any.whl
| Download URL | kvell_extraction-0.0.6-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16592d1c73318ae25bdbe749202d9e7209cbbb72630bb117b2113ef41fca2fd3
|
|
BLAKE2b-256 checksum How to use checksums |
a9d8b4ecb1730cd08b0be7855268970cea074f4aa15f58e8620c63c9925d1bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|