{"id":23092041,"url":"https://github.com/thiswillbeyourgithub/pdf_batch_decryptor","last_synced_at":"2025-04-03T18:27:08.234Z","repository":{"id":253121578,"uuid":"842535836","full_name":"thiswillbeyourgithub/PDF_batch_decryptor","owner":"thiswillbeyourgithub","description":"Super quick and dirty script to call \"qpdf --decrypt\" on all PDF files that `pdfinfo` deems encrypted","archived":false,"fork":false,"pushed_at":"2024-08-25T09:22:06.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T06:43:11.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thiswillbeyourgithub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-14T14:49:21.000Z","updated_at":"2024-12-05T16:22:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab7a27c1-37a5-4a2c-a719-7875d63da4d6","html_url":"https://github.com/thiswillbeyourgithub/PDF_batch_decryptor","commit_stats":null,"previous_names":["thiswillbeyourgithub/pdf_batch_decryptor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2FPDF_batch_decryptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2FPDF_batch_decryptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2FPDF_batch_decryptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiswillbeyourgithub%2FPDF_batch_decryptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiswillbeyourgithub","download_url":"https://codeload.github.com/thiswillbeyourgithub/PDF_batch_decryptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247054890,"owners_count":20876090,"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":[],"created_at":"2024-12-16T21:26:54.772Z","updated_at":"2025-04-03T18:27:08.214Z","avatar_url":"https://github.com/thiswillbeyourgithub.png","language":"Python","readme":"# PDF Batch Decryptor\nSuper quick and dirty script to call \"qpdf --decrypt\" on all PDF files that `pdfinfo` deems encrypted.\n\n## Usage\n\n1. Ensure you have the required dependencies installed:\n   - Python 3.x\n   - qpdf\n   - pdfinfo (usually part of the poppler-utils package)\n\n2. Install the Python dependencies:\n   ```\n   pip install fire tqdm send2trash\n   ```\n\n3. Run the script with the path to the directory containing PDF files:\n   ```\n   python PDF_batch_decryptor.py /path/to/pdf/directory\n   ```\n\n4. The script will:\n   - Check each PDF file for encryption\n   - Ask if you want to decrypt each encrypted file\n   - Decrypt the files you choose to decrypt\n   - Move the original encrypted files to a trash directory\n   - Generate a JSON file with information about the processed PDFs\n\nNote: Make sure you have the necessary permissions to read and write files in the specified directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiswillbeyourgithub%2Fpdf_batch_decryptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiswillbeyourgithub%2Fpdf_batch_decryptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiswillbeyourgithub%2Fpdf_batch_decryptor/lists"}