{"id":18283627,"url":"https://github.com/hhsecond/hangar_pil","last_synced_at":"2025-04-09T05:43:08.012Z","repository":{"id":57436680,"uuid":"216173760","full_name":"hhsecond/hangar_pil","owner":"hhsecond","description":"Hangar PIL plugin","archived":false,"fork":false,"pushed_at":"2019-10-26T05:21:44.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T00:19:16.379Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hhsecond.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}},"created_at":"2019-10-19T08:28:56.000Z","updated_at":"2019-10-26T05:21:45.000Z","dependencies_parsed_at":"2022-09-09T23:23:21.077Z","dependency_job_id":null,"html_url":"https://github.com/hhsecond/hangar_pil","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/hhsecond%2Fhangar_pil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhsecond%2Fhangar_pil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhsecond%2Fhangar_pil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhsecond%2Fhangar_pil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhsecond","download_url":"https://codeload.github.com/hhsecond/hangar_pil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987108,"owners_count":21028891,"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-11-05T13:10:11.046Z","updated_at":"2025-04-09T05:43:07.986Z","avatar_url":"https://github.com/hhsecond.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hangar_pil\nHangar PIL plugin\n\nhangar_pil provides `load`, `save` and `board_show` methods and supports jpg, jpeg, png, ppm, bmp, pgm, tif, tiff and webp files\n\n## installation\n```bash\npip install hangar_pil\n```\n\n## Usage - CLI\nExamples here are with minimal options possible, checkout the hangar documentation for all available options\n\n- Importing a directory full of images into hangar. Hangar uses hangar_pil to figure out which file formats are supported by hangar_pil and auto infer plugin at runtime. Note that `--height` and `--width` are plugin specific arguments\n```bash\n hangar import aset images_directory --height 299 --width 299\n ```\n\n- Exporting: This exports the sample to the current directory\n```bash\nhangar export aset --format jpg --sample sample_name\n```\n\n## Usage - programmatically","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhsecond%2Fhangar_pil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhsecond%2Fhangar_pil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhsecond%2Fhangar_pil/lists"}