Skip to main content

A package for extracting and formatting content from various sources

Project description

DataReader

A Python package for extracting and formatting content from various sources including PDFs, URLs, videos, and audio files.

Features

  • PDF processing with multiple backends (PyMuPDF, pypdf, markitdown)
  • Web page content extraction
  • Video content processing
  • Audio transcription
  • Markdown formatting

Installation

pip install keytake-datareader

All dependencies are included with the package by default, so you can immediately use all features without installing additional packages.

Quick Start

from datareader import DataReader

# Process a PDF file
text = DataReader.read_pdf("document.pdf")

# Process a URL
web_content = DataReader.read_url("https://example.com")

# Process a video file
transcript = DataReader.read_video("video.mp4")

# Process an audio file
audio_text = DataReader.read_audio("audio.mp3")

# Save as markdown
DataReader.save_markdown(text, "output.md")

Command Line Usage

The package provides command-line scripts for batch processing:

# Process PDFs
./run_pdf.sh

# Process URLs
./run_url.sh

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

keytake_datareader-0.1.7.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keytake_datareader-0.1.7-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file keytake_datareader-0.1.7.tar.gz.

File metadata

  • Download URL: keytake_datareader-0.1.7.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for keytake_datareader-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9258ce3ffc215b4546855fd1855d23e7751eb694d92105ab1cd3f92c167028e3
MD5 05a2be26e50711e755ffb50ec9f50fc3
BLAKE2b-256 f99fe836b4b02a3e4cd5a047cb49081c9fe959bfd9fbca886c1087aa05d69893

See more details on using hashes here.

File details

Details for the file keytake_datareader-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for keytake_datareader-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e615e368251952b3912b04fd91bf34dbf8743c73a16796d48596628bac224c48
MD5 58d6fdaa144de5b42997f780dca6ee71
BLAKE2b-256 86401f02544e48f9c9c608444f045af08ab0140f1456042b9b84e56022832bd2

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