{ "info": { "author": "Timothy Duffy", "author_email": "tim@timduffy.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7" ], "description": "yapot\n=====\n\nYet Another PDF OCR Tool\n\n\nThis is a library (tool) that makes PDF -> Text as easy as possble by doing a lot of the hard stuff for you!\n\nYou will need ImageMagick, Tesseract, and QPDF to use yapot.\n\n Ubuntu\n ------\n > sudo apt-get install imagemagick libmagickcore-dev\n > sudo apt-get install tesseract-ocr\n > sudo apt-get install qpdf\n \nTo use yapot, do the following:\n\n > pip install yapot\n \nThen some code:\n\n from yapot import convert_document\n \n success, pdf_text = convert_document('file.pdf')\n \n if success == True:\n with open('file.txt', 'w') as f:\n f.write(pdf_text)\n else:\n print \"Unable to convert PDF!\"\n \nIt's that simple!\n\nSome more advanced things you can do are set the resolution, page delineation, and tell yapot not to delete temporary files (this can be useful when debugging nasty pdf's).\n\n success, pdf_text = yapot.convert_document(\n pdf_filename = pdf_filename, # The name of the pdf file\n resolution = 200, # Image DPI resolution\n delete_files = True, # delete temporary files\n page_delineation = '\\n--------\\n', # page deination text\n verbose = False, # output verbosity\n temp_dir = str(uuid.uuid4()), # location of temp directory to use\n password = '', # password for PDF file\n make_thumbs = True, # create thrumbnails for each page\n thumb_size = 512, # width of thumbnail image\n thumb_dir = './thumbs', # directory to place thumbnails\n thumb_prefix = 'thumb_page_', # prefix for thumbnail images\n )", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "pdf\nocr\nyapot", "license": "GPLv3+", "maintainer": null, "maintainer_email": null, "name": "yapot", "package_url": "https://pypi.org/project/yapot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/yapot/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/yapot/0.4.2/", "requires_dist": null, "requires_python": null, "summary": "Yet Another PDF OCR Tool", "version": "0.4.2" }, "last_serial": 1720139, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "cfae48aad4ae1bfd68325e58d0fa5f74", "sha256": "e3390a86f4e590f6c0bbcd81b8cc72a12b5e6dcd6a69f01d16877e5befd6e4a0" }, "downloads": -1, "filename": "yapot-0.0.1.tar.gz", "has_sig": false, "md5_digest": "cfae48aad4ae1bfd68325e58d0fa5f74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2049, "upload_time": "2014-09-03T17:35:24", "url": "https://files.pythonhosted.org/packages/19/8d/731a8d362190da35b61afdcb8c4a5fa119135ff8859136dda15a75508562/yapot-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "105e081a6f5f6aef13cb7c7241eb1289", "sha256": "d12b5191cbb94761569ce23998d3edebfb8df8b412041cd57601fde885b25916" }, "downloads": -1, "filename": "yapot-0.0.2.tar.gz", "has_sig": false, "md5_digest": "105e081a6f5f6aef13cb7c7241eb1289", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2117, "upload_time": "2014-09-03T17:38:55", "url": "https://files.pythonhosted.org/packages/86/e3/d93034f4fc72a8f1504602a7c899aa268cb55240ea5b56c98353ab2654b7/yapot-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2d346a91d3bcf83b5cce3342b594c8df", "sha256": "33be56ec4421eb907a1693a08b87123169a67382472677e316447c4d6f189479" }, "downloads": -1, "filename": "yapot-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2d346a91d3bcf83b5cce3342b594c8df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2130, "upload_time": "2014-09-03T17:41:00", "url": "https://files.pythonhosted.org/packages/f6/a5/990e6ce9258cd753d741ee71e0e2f1730e30d0590be3d1ee25c58dca3624/yapot-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d4f63bfda218efb32255a59000ab0afa", "sha256": "0102d35c86d8663185a75c2af21a301ebfb0d8e3ed1bbe42a8c1ab710fa8af3d" }, "downloads": -1, "filename": "yapot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d4f63bfda218efb32255a59000ab0afa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2129, "upload_time": "2014-09-03T17:48:26", "url": "https://files.pythonhosted.org/packages/31/2e/1dbe0fd6ae7d600c1f4678f5f131b137cb16b4bf4c34ec2581c9bdb6ade4/yapot-0.0.4.tar.gz" } ], "0.0.5.dev21.gb6f158a": [ { "comment_text": "", "digests": { "md5": "c71c692b140016190948532d9e66bdfe", "sha256": "b718c48b1626426d4fc30a887cfae25e3a0c8e3b6e4e67d7a6dc8bc6c25b96dd" }, "downloads": -1, "filename": "yapot-0.0.5.dev21.gb6f158a.tar.gz", "has_sig": false, "md5_digest": "c71c692b140016190948532d9e66bdfe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17163, "upload_time": "2014-09-25T05:17:47", "url": "https://files.pythonhosted.org/packages/6a/92/21b5ae41e0ae0506377aac6ab3a52a1f46648da128236735fb7360e6f000/yapot-0.0.5.dev21.gb6f158a.tar.gz" } ], "0.0.6.dev25.g29a9424": [ { "comment_text": "", "digests": { "md5": "6e37a73975a623a8e7a1fd05b415d9ae", "sha256": "8dee845588cc1f259727655f2a478c5097a0de7faafb210a81a2c4ae15e35973" }, "downloads": -1, "filename": "yapot-0.0.6.dev25.g29a9424.tar.gz", "has_sig": false, "md5_digest": "6e37a73975a623a8e7a1fd05b415d9ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17611, "upload_time": "2014-09-25T19:40:24", "url": "https://files.pythonhosted.org/packages/52/11/f5e0903eabca9a409e7c3cdd9374dbaabafb11a6cb2ef3fcdd1b3fb7c4cf/yapot-0.0.6.dev25.g29a9424.tar.gz" } ], "0.0.6.dev27.g940c607": [ { "comment_text": "", "digests": { "md5": "3d23550234ab8db179d277a9a8cef8f0", "sha256": "1debe95b21cc4b7ae8c9f24e0227a1db93d5a47cd6fb9460b0bcb94d93a689a5" }, "downloads": -1, "filename": "yapot-0.0.6.dev27.g940c607.tar.gz", "has_sig": false, "md5_digest": "3d23550234ab8db179d277a9a8cef8f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17989, "upload_time": "2014-09-29T22:11:36", "url": "https://files.pythonhosted.org/packages/b2/8a/e9edda454ee30bdaa58e10c44c5426401625d616c268ea7c3668cfdf1bf9/yapot-0.0.6.dev27.g940c607.tar.gz" } ], "0.0.6.dev29": [ { "comment_text": "", "digests": { "md5": "71af9c7cf37c7d234640714548888888", "sha256": "d7162f23ce3fcc3b484ae57dcc2cfe7a93f53134b3378b3f2f691bf293e38a7c" }, "downloads": -1, "filename": "yapot-0.0.6.dev29.tar.gz", "has_sig": false, "md5_digest": "71af9c7cf37c7d234640714548888888", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18781, "upload_time": "2015-05-23T14:09:55", "url": "https://files.pythonhosted.org/packages/81/39/a81b9a8d602d540b474831c8ce1296dafeb92ae0b0c3e234457dc366c3a2/yapot-0.0.6.dev29.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "cf360112298479b8d4814b0c440ff37e", "sha256": "def4520943955928c18ef107cca16b6258a7fac1f96cb242c07437d721d668b2" }, "downloads": -1, "filename": "yapot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "cf360112298479b8d4814b0c440ff37e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18270, "upload_time": "2015-02-09T00:35:22", "url": "https://files.pythonhosted.org/packages/ec/c4/796106e2b990232517c4436bb8fd56dbd125ad707470724d26b20c4d7823/yapot-0.1.0.tar.gz" } ], "0.1.0.dev30": [ { "comment_text": "", "digests": { "md5": "f71f71e73161c0ea536ce993086c2167", "sha256": "05625c61fadc63ef252e9c20ef7ba8df76fab7075efc30293182effac7f0dd5e" }, "downloads": -1, "filename": "yapot-0.1.0.dev30.tar.gz", "has_sig": false, "md5_digest": "f71f71e73161c0ea536ce993086c2167", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18787, "upload_time": "2015-05-23T14:11:09", "url": "https://files.pythonhosted.org/packages/71/03/5e070092685d70887a6aea4d9a3dfb27ad8400c23931c1a68593f4821ca3/yapot-0.1.0.dev30.tar.gz" } ], "0.1.1.dev31": [ { "comment_text": "", "digests": { "md5": "0fe47c120a5d7e55dd90419165528037", "sha256": "12d148b2fe202e0424ca19f7aff86ffb1b70c2729a38f06f64ee5e0617aa6eaf" }, "downloads": -1, "filename": "yapot-0.1.1.dev31.tar.gz", "has_sig": false, "md5_digest": "0fe47c120a5d7e55dd90419165528037", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18818, "upload_time": "2015-05-24T00:04:02", "url": "https://files.pythonhosted.org/packages/09/6d/a064ff34b9957f2e825d88cd222be5b61932c9603f2f54498018fe0da5c9/yapot-0.1.1.dev31.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ce4a09805d3f2908299f2308f553731e", "sha256": "95fe38974446fda77153cea30898501f92a7b7335ff1f4ad8e6b004890f0ffc2" }, "downloads": -1, "filename": "yapot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ce4a09805d3f2908299f2308f553731e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18873, "upload_time": "2015-05-29T14:13:34", "url": "https://files.pythonhosted.org/packages/97/cd/d51e9c71b6d2ed7d0c0249b242f819ff806e33ef663e9d176c57bb895dd8/yapot-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c08e7374349ed6d4a03b0aa87d650688", "sha256": "93dc95d06307cfc453b809957d818c95097dd83dc79ca36772b7725e5e1d6ceb" }, "downloads": -1, "filename": "yapot-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c08e7374349ed6d4a03b0aa87d650688", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18664, "upload_time": "2015-06-19T15:44:08", "url": "https://files.pythonhosted.org/packages/ee/a3/ef2d4be1d9eb9eebfac3cac7304ce870633eca8fbe56bf89e614e74ea478/yapot-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "5afc2fc29201db2cf47f618b9f29165e", "sha256": "2a7c2aee742f0fbee5472053534647e18882af30431c05d07e9161a35cfca294" }, "downloads": -1, "filename": "yapot-0.3.0.tar.gz", "has_sig": false, "md5_digest": "5afc2fc29201db2cf47f618b9f29165e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18035, "upload_time": "2015-09-12T12:35:46", "url": "https://files.pythonhosted.org/packages/21/18/5684e8da3e9ca8ca3ea713cdece905259a2d8485bebe09ad069c5037b9d2/yapot-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "1c65c9fe8a1d4351c40315ea0ed1016e", "sha256": "628e89ebc8d298c25d729aa97bc26cdbb7792b37b9a48e105281e69317a2a38f" }, "downloads": -1, "filename": "yapot-0.4.0.tar.gz", "has_sig": false, "md5_digest": "1c65c9fe8a1d4351c40315ea0ed1016e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18059, "upload_time": "2015-09-12T16:10:15", "url": "https://files.pythonhosted.org/packages/70/0a/ba88046b5734bd6b973ef553b07078d1b8679eef3701a64ce1c2a7bcc5ab/yapot-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "bb8a39f67beec85115215daac8e725c8", "sha256": "7ae358796f6abe3735251a52961dbc2289449db5f251f74ac2bbfe92d7e005cd" }, "downloads": -1, "filename": "yapot-0.4.1.tar.gz", "has_sig": false, "md5_digest": "bb8a39f67beec85115215daac8e725c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18062, "upload_time": "2015-09-12T17:01:18", "url": "https://files.pythonhosted.org/packages/32/2a/201c2cf0ac2eb9168f8ec63b29000c24987475fe8bfc59b54d1a5e1a88f7/yapot-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "d55eee0fa358a4ad395ebae1734296cb", "sha256": "116ac19749ae09a8be4dc26c77ccf4a6bbdd5671fbbdd128cfb5be267f0463a1" }, "downloads": -1, "filename": "yapot-0.4.2.tar.gz", "has_sig": false, "md5_digest": "d55eee0fa358a4ad395ebae1734296cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18128, "upload_time": "2015-09-12T20:27:26", "url": "https://files.pythonhosted.org/packages/35/8c/315b4bd323a8678ef450e5c15b2703eaa167a43ec6b462ab503145da42a0/yapot-0.4.2.tar.gz" } ], "b6f158a": [ { "comment_text": "", "digests": { "md5": "33378fdcf5c406b87ae01cf2d579cd30", "sha256": "9b781b4b072a27efeed00632e001d2001b8a66df4880dd068b6c3e13b5c0d658" }, "downloads": -1, "filename": "yapot-b6f158a.tar.gz", "has_sig": false, "md5_digest": "33378fdcf5c406b87ae01cf2d579cd30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17115, "upload_time": "2014-09-25T05:17:11", "url": "https://files.pythonhosted.org/packages/71/04/ecaf064eacd01b650c282eafb7dcfc32f788965fe5506843edc089194be9/yapot-b6f158a.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d55eee0fa358a4ad395ebae1734296cb", "sha256": "116ac19749ae09a8be4dc26c77ccf4a6bbdd5671fbbdd128cfb5be267f0463a1" }, "downloads": -1, "filename": "yapot-0.4.2.tar.gz", "has_sig": false, "md5_digest": "d55eee0fa358a4ad395ebae1734296cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18128, "upload_time": "2015-09-12T20:27:26", "url": "https://files.pythonhosted.org/packages/35/8c/315b4bd323a8678ef450e5c15b2703eaa167a43ec6b462ab503145da42a0/yapot-0.4.2.tar.gz" } ] }