Industrial Readers Client
High-performance Python client for the Industrial Readers Server - a blazing-fast document processing service built in Rust.
Features
- Multiple Formats: Excel, Word, PowerPoint, PDF, Images, Text
- High Performance: Built for speed with connection pooling
- Simple API: Intuitive Python interface
- Type Hints: Full typing support
- Context Manager: Automatic resource cleanup
Installation
pip install industrial-readers-client
Quick Start
from industrial_readers_client import IndustrialReadersClient
# Using context manager (recommended)
with IndustrialReadersClient("http://localhost:8080") as client:
# Check server health
health = client.health()
print(health) # {"status": "ok", "version": "1.0.0"}
# Auto-detect and read any file
data = client.read("document.xlsx")
# Read specific formats
excel_data = client.read_excel("spreadsheet.xlsx", max_rows=1000)
word_data = client.read_word("document.docx")
pdf_text = client.read_pdf("document.pdf")
image_info = client.read_image("photo.jpg")
Server Setup
Run the Industrial Readers Server:
# Using Docker (recommended)
docker run -p 8080:8080 registry.gitlab.com/soberonlineemail/profilereaders:latest
# Or with docker-compose
curl -O https://gitlab.com/soberonlineemail/profilereaders/-/raw/main/docker-compose.yml
docker-compose up -d
API Reference
IndustrialReadersClient
Constructor
base_url(str): Server URL (default: "http://localhost:8080")timeout(int): Request timeout in seconds (default: 30)
Methods
health()→ Dict: Server health statusdetect(file_path)→ str: Detect file formatread(file_path, **params)→ Dict: Auto-detect and read fileread_format(file_path, format_type, **params)→ Dict: Read with specific formatread_excel(file_path, max_rows=None, max_cells=None)→ Dict: Read Excel filesread_word(file_path)→ Dict: Read Word documentsread_pdf(file_path)→ Dict: Read PDF filesread_image(file_path)→ Dict: Read image metadata
License
MIT License - see LICENSE file for details.
Links
- Source Code: https://gitlab.com/soberonlineemail/profilereaders
- Docker Image: registry.gitlab.com/soberonlineemail/profilereaders:latest
- Issues: https://gitlab.com/soberonlineemail/profilereaders/-/issues
Metadata
Release files for industrial-readers-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| industrial_readers_client-1.0.0.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| industrial_readers_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / industrial_readers_client-1.0.0.tar.gz
| Download URL | industrial_readers_client-1.0.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9759c01e9e5dec1013a7bcced00dbcfc542de20c99abc0db9e17b1a9e92e3c7a
|
|
BLAKE2b-256 checksum How to use checksums |
00d16b27be93d4feb1c24d973d4d57d9f8665c4ae22518322fc2186524a77841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / industrial_readers_client-1.0.0-py3-none-any.whl
| Download URL | industrial_readers_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fbabe17cea3ebc78ad457212dc7b773f8a94f1e7f8a07f8bab231248ad11a96
|
|
BLAKE2b-256 checksum How to use checksums |
1d34ebc3731ec91b178cabb7cc762ca045590b03ae5f707e6753dc74c6b60b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for industrial-readers-client 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.