{"id":18876323,"url":"https://github.com/carlosulisesochoa/batch-zip-compressor","last_synced_at":"2025-04-11T22:36:10.684Z","repository":{"id":197920877,"uuid":"699658122","full_name":"CarlosUlisesOchoa/batch-zip-compressor","owner":"CarlosUlisesOchoa","description":"Python script to compress files (password protection feature available)","archived":false,"fork":false,"pushed_at":"2023-10-03T04:42:43.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T18:40:52.633Z","etag":null,"topics":["compress","python","zip"],"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/CarlosUlisesOchoa.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":"2023-10-03T04:34:47.000Z","updated_at":"2024-11-12T00:21:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a299920-259b-482e-993f-99dbfc454b7f","html_url":"https://github.com/CarlosUlisesOchoa/batch-zip-compressor","commit_stats":null,"previous_names":["carlosulisesochoa/batch-zip-compressor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Fbatch-zip-compressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Fbatch-zip-compressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Fbatch-zip-compressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarlosUlisesOchoa%2Fbatch-zip-compressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarlosUlisesOchoa","download_url":"https://codeload.github.com/CarlosUlisesOchoa/batch-zip-compressor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248491326,"owners_count":21112935,"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":["compress","python","zip"],"created_at":"2024-11-08T06:12:26.973Z","updated_at":"2025-04-11T22:36:10.659Z","avatar_url":"https://github.com/CarlosUlisesOchoa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ePython Batch ZIP Compressor\u003c/h1\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-3.6%2B-blue\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen\" /\u003e\n\u003c/div\u003e\n\n---\n\n## Overview\n\nThis Python script compresses and password-protects files in a given directory. It reads environment variables from a `.env` file to determine the input and output directories, as well as the password to use for encryption.\n\n## Table of Contents\n\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Contact](#contact)\n\n## Prerequisites\n\n- Python 3.6 or later\n- pyminizip package (`pip install pyminizip`)\n\n## Installation\n\n1. Clone this repository.\n2. Install the required package: `pip install pyminizip`.\n\n## Configuration\n\nConfigure and rename .env.example to .env\n\n- `INPUT_DIR`: The directory containing the files you want to compress.\n- `OUTPUT_DIR`: The directory where the compressed files will be saved.\n- `PASSWORD`: The password to use for encrypting the compressed files.\n\nExample `.env` file:\n\n```env\n# .env.example\nINPUT_DIR=input\nOUTPUT_DIR=output\nPASSWORD=1234\n```\n\n## Usage\n\nOpen a terminal and navigate to the directory containing the script and the `.env` file. Then, run the script:\n\n```bash\npython main.py\n```\n\n## Contributing\n\nFor contributing to this project, please feel free to [open an issue](https://github.com/CarlosUlisesOchoa/batch-zip-compressor/issues) or submit a pull request.\n\n## Contact\n\n- Website [carlos8a.com](https://carlos8a.com)\n- GitHub [@CarlosUlisesOchoa](https://github.com/carlosulisesochoa)\n- X [@Carlos8aDev](https://twitter.com/carlos8adev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosulisesochoa%2Fbatch-zip-compressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosulisesochoa%2Fbatch-zip-compressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosulisesochoa%2Fbatch-zip-compressor/lists"}