diseloryaPdf2md


NamediseloryaPdf2md JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryDiselorya's PDF to Markdown tool especially for Obsidian.
upload_time2023-08-01 16:04:19
maintainer
docs_urlNone
authorDiselorya
requires_python>=3.8
licenseCopyright (c) 2018 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords diselorya md obsidian pdf python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pdf2md

Convert PDF to Markdown and TXT, especially for obsidian.

- [x] Get content:
    - [x] Convert text pdf.
    - [x] Convert picture pdf by ocr.
        - [ ] Higher OCR recognition accuracy.
    - [x] Save pictures and insert to markdown by obsidian way.
- [x] Fix broken sentences. (most but not 100%)
    - [ ] Need to optimize based on more samples.
    - [ ] AI assisted recognition of sentence breaks.
- [x] Add headings:
    - [x] Convert pdf bookmarks to headings.
    - [x] Use page number as headings for picture pdf.
        - [x] Fetch first sentence for page number headings.
        - [ ] Compare the headers, catalog, and page numbers to identify the levels of headings.
- [x] Filename handling:
    - [x] Fix unsupported characters in filename.
    - [x] Replace characters conflicting with obsidian in filename.
- [x] Character encoding problem handling:
    - [x] Normalise the same character but different unicode, which can't read by TTS.
- [x] Batch convert.
- [ ] Catalog: Replace catalog to obsidian way. (little significance)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "diseloryaPdf2md",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "diselorya,md,obsidian,pdf,python",
    "author": "Diselorya",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b5/d4/faa72ee8902199a3b598a6de43deb53d6a1390f4c06cbb85314126466246/diseloryapdf2md-0.0.1.tar.gz",
    "platform": null,
    "description": "# pdf2md\n\nConvert PDF to Markdown and TXT, especially for obsidian.\n\n- [x] Get content:\n    - [x] Convert text pdf.\n    - [x] Convert picture pdf by ocr.\n        - [ ] Higher OCR recognition accuracy.\n    - [x] Save pictures and insert to markdown by obsidian way.\n- [x] Fix broken sentences. (most but not 100%)\n    - [ ] Need to optimize based on more samples.\n    - [ ] AI assisted recognition of sentence breaks.\n- [x] Add headings:\n    - [x] Convert pdf bookmarks to headings.\n    - [x] Use page number as headings for picture pdf.\n        - [x] Fetch first sentence for page number headings.\n        - [ ] Compare the headers, catalog, and page numbers to identify the levels of headings.\n- [x] Filename handling:\n    - [x] Fix unsupported characters in filename.\n    - [x] Replace characters conflicting with obsidian in filename.\n- [x] Character encoding problem handling:\n    - [x] Normalise the same character but different unicode, which can't read by TTS.\n- [x] Batch convert.\n- [ ] Catalog: Replace catalog to obsidian way. (little significance)\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2018 The Python Packaging Authority  Permission is hereby granted, free of charge, to any person obtaining a copy  of this software and associated documentation files (the \"Software\"), to deal  in the Software without restriction, including without limitation the rights  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell  copies of the Software, and to permit persons to whom the Software is  furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all  copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE  SOFTWARE.",
    "summary": "Diselorya's PDF to Markdown tool especially for Obsidian.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/Diselorya/pdf2md/"
    },
    "split_keywords": [
        "diselorya",
        "md",
        "obsidian",
        "pdf",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "76de1cdbb9cb64f647c52d3c266398bda26c1dcf14f12f13133303fa721bd86f",
                "md5": "0a757d4e7792008e8d06ab8802a95b7b",
                "sha256": "07fee261eb23a1f7b860918da6f2975c0cfd06596b5a33afe12ce4aea1373629"
            },
            "downloads": -1,
            "filename": "diseloryapdf2md-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a757d4e7792008e8d06ab8802a95b7b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7293,
            "upload_time": "2023-08-01T16:04:17",
            "upload_time_iso_8601": "2023-08-01T16:04:17.436083Z",
            "url": "https://files.pythonhosted.org/packages/76/de/1cdbb9cb64f647c52d3c266398bda26c1dcf14f12f13133303fa721bd86f/diseloryapdf2md-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5d4faa72ee8902199a3b598a6de43deb53d6a1390f4c06cbb85314126466246",
                "md5": "8991e1c9d15f2ab1e7fc085f50c1ef58",
                "sha256": "44bef8f2eec0ef0ea555776830fdcd0873ff35ca7b4d8b4d91df2e19c2e38cb5"
            },
            "downloads": -1,
            "filename": "diseloryapdf2md-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8991e1c9d15f2ab1e7fc085f50c1ef58",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7528,
            "upload_time": "2023-08-01T16:04:19",
            "upload_time_iso_8601": "2023-08-01T16:04:19.875247Z",
            "url": "https://files.pythonhosted.org/packages/b5/d4/faa72ee8902199a3b598a6de43deb53d6a1390f4c06cbb85314126466246/diseloryapdf2md-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-01 16:04:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Diselorya",
    "github_project": "pdf2md",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "diseloryapdf2md"
}
        
Elapsed time: 0.20788s