{"id":17626744,"url":"https://github.com/haranrk/haran-utils","last_synced_at":"2025-09-14T22:06:43.543Z","repository":{"id":123893453,"uuid":"176474289","full_name":"haranrk/haran-utils","owner":"haranrk","description":"A bunch of python utilities","archived":false,"fork":false,"pushed_at":"2019-06-06T11:28:46.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T04:49:13.459Z","etag":null,"topics":["image-processing","python","utilities"],"latest_commit_sha":null,"homepage":null,"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/haranrk.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":"2019-03-19T09:26:00.000Z","updated_at":"2019-06-06T11:28:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"238f9c40-eb1e-4866-89ad-4cc894236b5a","html_url":"https://github.com/haranrk/haran-utils","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/haranrk%2Fharan-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haranrk%2Fharan-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haranrk%2Fharan-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haranrk%2Fharan-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haranrk","download_url":"https://codeload.github.com/haranrk/haran-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266699,"owners_count":20749842,"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":["image-processing","python","utilities"],"created_at":"2024-10-22T23:24:40.306Z","updated_at":"2025-03-30T02:22:28.862Z","avatar_url":"https://github.com/haranrk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/haran-utils.svg)](https://badge.fury.io/py/haran-utils) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# Utils\nA collection of utility functions and scripts I use.  \n\n## Installation \nThe package is uploaded on PyPi, therefore it can be installed via\n```bash\npip install haran-utils\n```\nI've tested the package only on python3.6+. It may or may not work with older versions.\n\n## Image scripts\nThese are a set of cli scripts related to image housekeeping. The syntax is - \n```\nutils image \u003ccommand\u003e \u003cargs\u003e\n```\nYou can use the `-h` arg to get help on the specific command\n### List of available commands\n1. `crop` - Crops images given in one folder and outputs to the target folder\n2. `filter` - \nChecks the resolution of all the files in the specified directory and moves them to the target directory if they are of a larger resolution\n1. `summarise` - Checks the resolutions of images in all the sub-directories of the given directory and tells how many of images of a given resolution are there in a sub-directory. The image below is an output from the command.\n\n![summarise-sample](assets/summarise-example.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharanrk%2Fharan-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharanrk%2Fharan-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharanrk%2Fharan-utils/lists"}