{"id":25310127,"url":"https://github.com/louire/ilovepypdf","last_synced_at":"2026-02-26T08:43:41.051Z","repository":{"id":276893101,"uuid":"930649652","full_name":"louire/ILovePyPdf","owner":"louire","description":"Python Script to compress pdf's without losing quality ","archived":false,"fork":false,"pushed_at":"2025-02-11T01:40:38.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T23:36:59.153Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/louire.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":"2025-02-11T01:21:19.000Z","updated_at":"2025-02-21T01:34:15.000Z","dependencies_parsed_at":"2025-02-11T02:37:28.825Z","dependency_job_id":null,"html_url":"https://github.com/louire/ILovePyPdf","commit_stats":null,"previous_names":["louire/ilovepypdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louire%2FILovePyPdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louire%2FILovePyPdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louire%2FILovePyPdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louire%2FILovePyPdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louire","download_url":"https://codeload.github.com/louire/ILovePyPdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640467,"owners_count":20971558,"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":"2025-02-13T13:38:10.666Z","updated_at":"2026-02-26T08:43:36.008Z","avatar_url":"https://github.com/louire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ILovePyPdf🐍❤️\n\nA Python utility for compressing PDF files while maintaining reasonable quality. This tool provides a simple yet effective way to reduce PDF file sizes for easier sharing and storage.\n\n## Features\n* Compress PDF files with customizable quality settings\n* Maintain reasonable document quality\n* Track compression progress\n* Generate detailed compression statistics\n* Error handling and logging\n* Support for both high-quality and maximum compression modes\n\n## Requirements\n* Python 3.6 or higher\n* PyPDF2 library\n\n## Installation\n\n### 1. Clone this repository:\n```bash\ngit clone https://github.com/louire/ILovePyPdf.git\ncd ILovePyPdf\n```\n### 2. Install required dependencies:\n```bash\npip install PyPDF2`\n```\n## Usage\n\n### Basic Usage\n```bash\n`from pdf_compressor import compress_pdf`\n\n`# Compress with high quality (default)`\n`compress_pdf(\"input.pdf\", \"output_compressed.pdf\")`\n\n`# Compress with lower quality for smaller file size`\n`compress_pdf(\"input.pdf\", \"output_compressed.pdf\", high_quality=False)`\n```\n### Command Line Usage\n\n`python pdf_compressor.py`\n\n### Example Output\n```bash\nProcessing 5 pages...`\nCompressed page 1/5`\nCompressed page 2/5`\nCompressed page 3/5`\nCompressed page 4/5`\nCompressed page 5/5`\nSaving compressed file...`\n\nCompression completed successfully!`\nOriginal size: 1024.55 KB`\nCompressed size: 428.73 KB`\nReduction: 58.2%`\nProcessing time: 2.34 seconds`\n```\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contributing\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Author\n[@louire](https://github.com/louire)\n\n## Acknowledgments\n* PyPDF2 library and its contributors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouire%2Filovepypdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouire%2Filovepypdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouire%2Filovepypdf/lists"}