{"id":16421716,"url":"https://github.com/kumaraditya303/pysizer","last_synced_at":"2025-03-23T07:32:09.084Z","repository":{"id":40252762,"uuid":"279283675","full_name":"kumaraditya303/PySizer","owner":"kumaraditya303","description":"PySizer is a simple python command line program to resize images efficiently by Multi Threading and is 5 times the cpu count of the machine in this program and the current running threads is limited by the use of ThreadPoolExecutor, also shows a progress bar of and also supports searching for images recursively.","archived":false,"fork":false,"pushed_at":"2023-03-20T01:48:06.000Z","size":50,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T18:45:48.974Z","etag":null,"topics":["pyinstaller","python","threads"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kumaraditya303.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-07-13T11:28:25.000Z","updated_at":"2024-06-01T13:38:44.000Z","dependencies_parsed_at":"2024-10-28T15:28:37.484Z","dependency_job_id":"a3f744c2-9577-486b-a05e-2bff1663ad51","html_url":"https://github.com/kumaraditya303/PySizer","commit_stats":{"total_commits":28,"total_committers":4,"mean_commits":7.0,"dds":0.3571428571428571,"last_synced_commit":"6858a6757def2c611618a23fef4a75341845e1b6"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumaraditya303%2FPySizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumaraditya303%2FPySizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumaraditya303%2FPySizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kumaraditya303%2FPySizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kumaraditya303","download_url":"https://codeload.github.com/kumaraditya303/PySizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245072088,"owners_count":20556352,"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":["pyinstaller","python","threads"],"created_at":"2024-10-11T07:34:29.539Z","updated_at":"2025-03-23T07:32:08.840Z","avatar_url":"https://github.com/kumaraditya303.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PySizer\r\n\r\n![](https://img.shields.io/github/workflow/status/kumaraditya303/PySizer/CI?logo=github\u0026style=for-the-badge) ![](https://img.shields.io/codecov/c/github/kumaraditya303/pysizer?logo=codecov\u0026style=for-the-badge) ![](https://img.shields.io/pypi/pyversions/PySizer?logo=python\u0026style=for-the-badge) ![](https://img.shields.io/pypi/dm/PySizer?logo=pypi\u0026style=for-the-badge)\r\n\r\n# Introduction\r\n\r\n```txt\r\n ____        ____  _\r\n|  _ \\ _   _/ ___|(_)_______ _ __\r\n| |_) | | | \\___ \\| |_  / _ \\ '__|\r\n|  __/| |_| |___) | |/ /  __/ |\r\n|_|    \\__, |____/|_/___\\___|_|\r\n       |___/\r\n```\r\n\r\n### PySizer is a simple python command line program to resize images efficiently by Multi Threading and is 5 times the cpu count of the machine in this program and the current running threads is limited by the use of ThreadPoolExecutor, also shows a progress bar of and also supports searching for images recursively.\r\n\r\n# Features\r\n\r\n- Quick \u0026 Efficient picture resizing\r\n- Threads count is dependent on the machine i.e 5 \\* cpu count\r\n- Support to find images recursively\r\n- Auto rename file to avoid file name clashing in recursive mode\r\n\r\n# Quick Start\r\n\r\n- Install the project with pip\r\n\r\n```sh\r\n$ pip install pysizer\r\n```\r\n\r\n- Project will now be available as a command line utility\r\n\r\n- Get Help\r\n\r\n```txt\r\n$ pysizer --help\r\nUsage: pysizer [OPTIONS]\r\n\r\n   ____        ____  _\r\n  |  _ \\ _   _/ ___|(_)_______ _ __\r\n  | |_) | | | \\___ \\| |_  / _ \\ '__|\r\n  |  __/| |_| |___) | |/ /  __/ |\r\n  |_|    \\__, |____/|_/___\\___|_|\r\n         |___/\r\n\r\n  PySizer is a simple python command line program to resize images\r\n  efficiently by Multi Threading and is 5 times the cpu count of the\r\n  machine in this program and the current running threads is limited\r\n  by the use of ThreadPoolExecutor and also displays a progress bar\r\n  for the current progress.\r\n\r\nOptions:\r\n  --source PATH      Source  [default: .]\r\n  --dest PATH        Destination  [default: resized]\r\n  --height INTEGER   Image height  [default: 1080]\r\n  --width INTEGER    Image width  [default: 1920]\r\n  --threads INTEGER  Number of threads  [default: 40]\r\n  -r, --recursive    Find images recursively  [default: False]\r\n  -v, --verbose      Verbose output  [default: False]\r\n  --help             Show this message and exit.\r\n```\r\n\r\n- Test the project with pytest\r\n\r\n```sh\r\n$ pip install -e .[tests]\r\n$ pytest\r\n```\r\n\r\n## Demo\r\n\r\n![](https://user-images.githubusercontent.com/59607654/100200717-00e16900-2f25-11eb-8ad1-20b9ccf8cbbe.gif)\r\n\r\n\r\n# Project Made and Maintained By Kumar Aditya\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkumaraditya303%2Fpysizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkumaraditya303%2Fpysizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkumaraditya303%2Fpysizer/lists"}