{"id":30227023,"url":"https://github.com/biolab/orange-tools","last_synced_at":"2025-08-14T17:39:01.834Z","repository":{"id":32896781,"uuid":"36491375","full_name":"biolab/orange-tools","owner":"biolab","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-09T19:42:56.000Z","size":220,"stargazers_count":1,"open_issues_count":2,"forks_count":15,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-02-09T20:28:33.476Z","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/biolab.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":"2015-05-29T08:28:22.000Z","updated_at":"2025-02-09T19:42:59.000Z","dependencies_parsed_at":"2025-01-24T14:32:28.568Z","dependency_job_id":null,"html_url":"https://github.com/biolab/orange-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/biolab/orange-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biolab%2Forange-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biolab%2Forange-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biolab%2Forange-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biolab%2Forange-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/biolab","download_url":"https://codeload.github.com/biolab/orange-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/biolab%2Forange-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270458995,"owners_count":24587496,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-14T17:38:53.556Z","updated_at":"2025-08-14T17:39:01.825Z","avatar_url":"https://github.com/biolab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Orange Tools\n============\n\nHandy utilities used in development of [Orange](http://orange.biolab.si) \ndata mining software or its documentation. \n\ntrim.py\n-------\nTrims the input PNG file. The upper-left pixel of the image is considered on\nthe border and is used to mark the border color. Border is clipped-out, border\ncolor is considered a background and is transparent. \n\n    % python trim.py examples/paint-data.png\n    .. processing /Users/username/Desktop/paint-data.png, size (1264, 858)\n       -\u003e trimming: paint-data.png, size (1241, 834)\n       -\u003e thumb: paint-data-thumb.png, size (180, 120)\n\nTo construct a appropriate screenshot file on Windows 8, go to Control Panel, \ntype \"shadows\" in the search box, and go to System, then there disable \n\"Show shadows under windows\". Choose a weird enough color for the background.\n\ntodo.py\n-------\nManage list of stickers for Orange. Prepares a list of html pages for sticker\nprintout. The following call will print out all stickers that are marked not\nprinted and are of priority 3.\n\n    % python todo.py -p 3\n\nStickers are defined on google sheet that can be accessed by biolab members.\n\nstamper.py\n----------\nRun it on a screenshot to place labels (circled numbers from 1 to 10).\nThese augmented screenshots are then used in the widget documentation.\n\nwidget\\_icon\\_export.py\n---------------------\nRun `./widget_icon_export.py [\u003cformat\u003e] [\u003cexport-icon-size\u003e]` to export all \ncurrently installed widgets' icons into the current directory. If no arguments\nare given, format defaults to 'png', export-icon-size defaults to 100.\n\nconvert-to-indexed.sh\n---------------------\nRun `bash convert-to-indexed.sh \u003cpath-to-folder\u003e`. The script creates a new folder with indexed images. It requires ImageMagick first. On OSX, install with `brew install imagemagick`. See [ImageMagick](https://imagemagick.org/script/download.php) for alternatives.\n\ntinify_images.py\n----------------\nThis uses [TinyPNG](https://tinypng.com/) API to compress images in a given directory.\n\nExample usage: `python tinify_images.py -k \u003cyour_api_key\u003e -p \u003cpath_to_dir\u003e` optionaly use -e parameter to speficy file extension (default are .png and .jpg).\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiolab%2Forange-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiolab%2Forange-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiolab%2Forange-tools/lists"}