📚 Sandyie Read
Effortlessly read files of almost any type — PDFs, images, YAML, CSV, Excel, and more — with built-in logging and custom exceptions.
⚠️ Python Compatibility
🐍 Requires Python 3.7 or higher
🔧 Features
- ✅ Read and extract content from:
- Documents → PDF, DOCX, TXT, HTML, Markdown
- Data files → CSV, TSV, Excel, Parquet
- Serialized files → Pickle, Models
- Configs → JSON, YAML, JS
- Archives → ZIP
- Images → JPG, PNG, SVG (OCR-enabled)
- 🧠 OCR support via Tesseract
- 📋 Human-friendly logging
- 🛡️ Consistent error handling with
SandyieException
📦 Installation
# Upgrade pip and setuptools first
python -m pip install --upgrade pip setuptools
# Clear old caches (optional)
pip cache purge
# Install sandyie_read
pip install sandyie_read
🚀 Quick Start
from sandyie_read import read
# Example: Reading a PDF
data = read("example.pdf", pages = [0])
print(data)
📁 Supported File Types & Examples
1. 📄 Pickle / Model Files
data = read("model.pkl")
print(data)
🟢 Returns: A Python object / model container.
2. 🖼️ Images (PNG, JPG, SVG)
data = read("photo.jpg")
print(data)
🟢 Returns: OCR-extracted text as a string or NumPy array.
3. 📊 Parquet
data = read("data.parquet")
print(data)
🟢 Returns: pandas.DataFrame.
4. 📊 CSV / Excel
data = read("data.csv")
print(data)
🟢 Returns: pandas.DataFrame.
⚠️ Error Handling
All exceptions are wrapped in a custom SandyieException, making debugging simple and consistent.
🧪 Logging
Logs include:
- File type detection
- Success/failure reports
- Processing details
📚 Documentation
📖 Full documentation (with API reference and usage notebooks) will be available soon at 👉 sandyie.in/docs
🗺️ Roadmap
- Cloud Storage Support: Read files directly from S3, Azure Blob, and Google Cloud Storage.
- Streaming Files: Process large files without loading the entire content into memory.
- Improved Performance: Optimize parsing for various file formats.
🤝 Contributing
Got an idea or found a bug?
- Open an Issue
- Or submit a Pull Request 🚀
📄 License
Licensed under the MIT License. See LICENSE for details.
👤 Author
Sanju (aka Sandyie)
- 🌐 Website: www.sandyie.in
- 📧 Email: business@sandyie.in
- 🐍 PyPI: sandyie-read
Metadata
Release files for sandyie-read 1.2.1
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 | Actions |
|---|---|---|---|---|
| sandyie_read-1.2.1.tar.gz | 13.3 kB | Without provenance | Details for sandyie_read-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sandyie_read-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for sandyie_read-1.2.1-py3-none-any.whl |
Total release size: 31.8 kB
Release files / sandyie_read-1.2.1.tar.gz
| Download URL | sandyie_read-1.2.1.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83eda23496ab5ee7a02f3d2667de0774edf9d307b3d42118347a5433baf9bdb9
|
|
BLAKE2b-256 checksum How to use checksums |
e6bb241f3fc4931c1e11e313d226cb0c91bcc58ff80a4891a23acc19955a7a2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Release files / sandyie_read-1.2.1-py3-none-any.whl
| Download URL | sandyie_read-1.2.1-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
437259bef5fa87b7191efaf6054ba0b9f612652d7839c5d19e5fb638aaef833b
|
|
BLAKE2b-256 checksum How to use checksums |
57f4dca67b63744b33076d0a54e9955d3c4624a62fcfb6cb16b136b09c7d6805
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Security for sandyie-read 1.2.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.