{"id":17108418,"url":"https://github.com/dotx12/reformatpdf","last_synced_at":"2025-03-23T21:15:27.715Z","repository":{"id":119048743,"uuid":"348075225","full_name":"dotX12/ReformatPDF","owner":"dotX12","description":"Extracting data from a PDF table and converting it to JSON for further work.","archived":false,"fork":false,"pushed_at":"2021-03-16T17:26:28.000Z","size":7761,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T04:41:26.553Z","etag":null,"topics":["pdf","python","python3","reformat","tabula","tabula-py"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotX12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-15T18:09:51.000Z","updated_at":"2021-08-09T02:52:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f14666c-340f-45a1-abe2-3fd42a4531bb","html_url":"https://github.com/dotX12/ReformatPDF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2FReformatPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2FReformatPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2FReformatPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotX12%2FReformatPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotX12","download_url":"https://codeload.github.com/dotX12/ReformatPDF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168899,"owners_count":20571804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pdf","python","python3","reformat","tabula","tabula-py"],"created_at":"2024-10-14T16:05:20.326Z","updated_at":"2025-03-23T21:15:27.687Z","avatar_url":"https://github.com/dotX12.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReformatPDF\nA program that allows you to convert large PDF tables to JSON for further work.\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/64792903/111350987-bd596900-8693-11eb-891a-8bc76de59b70.png\"\u003e\n\u003cbr\u003e\u003cbr\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/64792903/111351582-5d16f700-8694-11eb-85b6-fc4505cf64fc.png\"\u003e\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eSpoiler func reformat\u003c/summary\u003e\n  \n```text\ndef reformat(self) -\u003e dict:\n        \n  В зависимости от полученного списка словарей форматирует данные по нужному шаблону.\n\n  [{'top': 241.32117, 'left': 114.458305, 'width': 148.84747314453125, 'height': 23.783233642578125,\n   'text': 'Шулаева Евгения Юрьевна\\r(Бакалавриат)'},\n  {'top': 241.32117, 'left': 263.3058, 'width': 58.32025146484375, 'height': 23.783233642578125, 'text': ''},\n  {'top': 241.32117, 'left': 321.62604, 'width': 53.400787353515625, 'height': 23.783233642578125, 'text': ''},\n  {'top': 241.32117, 'left': 375.02682, 'width': 95.03976440429688, 'height': 23.783233642578125, 'text': 'Копия'},\n  {'top': 241.32117, 'left': 470.0666, 'width': 94.81597900390625, 'height': 23.783233642578125, 'text': 'V'},\n  {'top': 0.0, 'left': 0.0, 'width': 0.0, 'height': 0.0, 'text': ''}]\n  Вернет : \n  {'name': 'Шулаева Евгения Юрьевна', 'form_of_education': 'Бакалавриат', 'document_type': 'Копия', 'consent': True}\n\n\n  [{'top': 264.92746, 'left': 64.614006, 'width': 49.84033966064453, 'height': 12.490386962890625, 'text': '48.03.01'},\n  {'top': 264.92746, 'left': 114.454346, 'width': 148.8521728515625, 'height': 12.490386962890625, 'text': 'Теология'},\n  {'top': 264.92746, 'left': 263.30652, 'width': 58.32073974609375, 'height': 12.490386962890625, 'text': '9'},\n  {'top': 264.92746, 'left': 321.62726, 'width': 53.399078369140625, 'height': 12.490386962890625, 'text': '32'},\n  {'top': 264.92746, 'left': 375.02634, 'width': 95.03768920898438, 'height': 12.490386962890625, 'text': ''},\n  {'top': 264.92746, 'left': 470.06403, 'width': 94.8138427734375, 'height': 12.490386962890625, 'text': '9'}]\n  Вернет:\n  {'code': '48.03.01', 'name': 'Теология', 'number_of_seats': '9', 'applications': '32', 'consent': '9'}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotx12%2Freformatpdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotx12%2Freformatpdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotx12%2Freformatpdf/lists"}