DocumentsReader


NameDocumentsReader JSON
Version 1.1.5 PyPI version JSON
download
home_pageNone
SummaryA package to read and process documents
upload_time2024-05-23 12:19:11
maintainerNone
docs_urlNone
authorYour Name
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ```markdown
# DocumentsReader

# Document to JSON Converter

This project provides a script to extract data in json format from various types of documents (PDF, DOCX, TXT, PPT, Excel, HTML) using a pre-trained model.

## Requirements

Before you begin, ensure you have the following software installed:

- Python 3.10+
- pip (Python package installer)

## Installation

1. Install the necessary Python package:

    ```sh
    pip install documentsreader
    ```

2. Install Poppler (required for `pdf2image`):

    - **Ubuntu/Debian**:
      ```sh
      sudo apt-get install poppler-utils
      ```
    - **macOS** (using Homebrew):
      ```sh
      brew install poppler
      ```
## Example

1. The script will load document, apply the pre-trained model, and generate JSON responses.

- **Documents Processing**:
  - The script loads a pre-trained model using the `transformers` library.
  - It generates a JSON response using the model.
  - The responses can be printed or saved for further analysis.

This README provides an overview of how to set up and use the scripts for to generating JSON data from these documents using a pre-trained model.
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "DocumentsReader",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/d4/ce/0bf8ed1245854dab50d62c3ed56b87b084ac107fb56338eb85d0b5191fd9/DocumentsReader-1.1.5.tar.gz",
    "platform": null,
    "description": "```markdown\n# DocumentsReader\n\n# Document to JSON Converter\n\nThis project provides a script to extract data in json format from various types of documents (PDF, DOCX, TXT, PPT, Excel, HTML) using a pre-trained model.\n\n## Requirements\n\nBefore you begin, ensure you have the following software installed:\n\n- Python 3.10+\n- pip (Python package installer)\n\n## Installation\n\n1. Install the necessary Python package:\n\n    ```sh\n    pip install documentsreader\n    ```\n\n2. Install Poppler (required for `pdf2image`):\n\n    - **Ubuntu/Debian**:\n      ```sh\n      sudo apt-get install poppler-utils\n      ```\n    - **macOS** (using Homebrew):\n      ```sh\n      brew install poppler\n      ```\n## Example\n\n1. The script will load document, apply the pre-trained model, and generate JSON responses.\n\n- **Documents Processing**:\n  - The script loads a pre-trained model using the `transformers` library.\n  - It generates a JSON response using the model.\n  - The responses can be printed or saved for further analysis.\n\nThis README provides an overview of how to set up and use the scripts for to generating JSON data from these documents using a pre-trained model.\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A package to read and process documents",
    "version": "1.1.5",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19d10fa91558f7c2f4f83c4ce669a9a3cc02cdefbdeca2b40ee2c185685b4339",
                "md5": "a910ee400abfcd54d926219e251674d8",
                "sha256": "b0bf68501443c70e96f3121576ad5e6673ccd7c96a97cc310c2d0f4de3f51ba8"
            },
            "downloads": -1,
            "filename": "DocumentsReader-1.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a910ee400abfcd54d926219e251674d8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 384170,
            "upload_time": "2024-05-23T12:19:07",
            "upload_time_iso_8601": "2024-05-23T12:19:07.784852Z",
            "url": "https://files.pythonhosted.org/packages/19/d1/0fa91558f7c2f4f83c4ce669a9a3cc02cdefbdeca2b40ee2c185685b4339/DocumentsReader-1.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4ce0bf8ed1245854dab50d62c3ed56b87b084ac107fb56338eb85d0b5191fd9",
                "md5": "29c6afc4b5d02d7d474302700fb23e1b",
                "sha256": "3f6290b55fcaec50f76a2f00786f3eabe7ac784b7150f68100b01d909d927a07"
            },
            "downloads": -1,
            "filename": "DocumentsReader-1.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "29c6afc4b5d02d7d474302700fb23e1b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 384110,
            "upload_time": "2024-05-23T12:19:11",
            "upload_time_iso_8601": "2024-05-23T12:19:11.370118Z",
            "url": "https://files.pythonhosted.org/packages/d4/ce/0bf8ed1245854dab50d62c3ed56b87b084ac107fb56338eb85d0b5191fd9/DocumentsReader-1.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-23 12:19:11",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "documentsreader"
}
        
Elapsed time: 0.24056s