{"id":13429100,"url":"https://github.com/scour-project/scour","last_synced_at":"2025-10-19T14:32:55.563Z","repository":{"id":11345798,"uuid":"13775110","full_name":"scour-project/scour","owner":"scour-project","description":"Scour - An SVG Optimizer / Cleaner","archived":false,"fork":false,"pushed_at":"2024-08-16T17:20:43.000Z","size":5990,"stargazers_count":814,"open_issues_count":107,"forks_count":62,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-04T09:07:51.383Z","etag":null,"topics":["cleaner","graphics","optimizer","python","scalable-vector-graphics","svg","vector-graphics"],"latest_commit_sha":null,"homepage":"","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/scour-project.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","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":"2013-10-22T14:02:57.000Z","updated_at":"2025-04-28T07:07:45.000Z","dependencies_parsed_at":"2023-02-12T21:00:54.689Z","dependency_job_id":"be77ad66-4ab3-4878-9737-3f9672ba1ea4","html_url":"https://github.com/scour-project/scour","commit_stats":{"total_commits":272,"total_committers":15,"mean_commits":"18.133333333333333","dds":0.5330882352941176,"last_synced_commit":"0609c596766ec98e4e2092b49bd03b802702ba1a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scour-project%2Fscour","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scour-project%2Fscour/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scour-project%2Fscour/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scour-project%2Fscour/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scour-project","download_url":"https://codeload.github.com/scour-project/scour/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235695,"owners_count":22036963,"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":["cleaner","graphics","optimizer","python","scalable-vector-graphics","svg","vector-graphics"],"created_at":"2024-07-31T02:00:25.363Z","updated_at":"2025-10-19T14:32:55.491Z","avatar_url":"https://github.com/scour-project.png","language":"Python","readme":"# Scour\n\n[![PyPI](https://img.shields.io/pypi/v/scour.svg)](https://pypi.python.org/pypi/scour \"Package listing on PyPI\")\n \n[![Build status](https://img.shields.io/travis/scour-project/scour.svg)](https://travis-ci.org/scour-project/scour \"Build status (via TravisCI)\")\n[![Codecov](https://img.shields.io/codecov/c/github/scour-project/scour.svg)](https://codecov.io/gh/scour-project/scour \"Code coverage (via Codecov)\")\n\n---\n\nScour is an SVG optimizer/cleaner written in Python that reduces the size of scalable vector graphics by optimizing structure and removing unnecessary data.\n\nIt can be used to create streamlined vector graphics suitable for web deployment, publishing/sharing or further processing.\n\nThe goal of Scour is to output a file that renders identically at a fraction of the size by removing a lot of redundant information created by most SVG editors. Optimization options are typically lossless but can be tweaked for more aggressive cleaning.\n\nScour is open-source and licensed under [Apache License 2.0](https://github.com/codedread/scour/blob/master/LICENSE).\n\nScour was originally developed by Jeff \"codedread\" Schiller and Louis Simard in in 2010.\nThe project moved to GitLab in 2013 an is now maintained by Tobias \"oberstet\" Oberstein and Patrick \"Ede_123\" Storz.\n\n## Installation\n\nScour requires [Python](https://www.python.org) 2.7 or 3.4+. Further, for installation, [pip](https://pip.pypa.io) should be used.\n\nTo install the [latest release](https://pypi.python.org/pypi/scour) of Scour from PyPI:\n\n```console\npip install scour\n```\n\nTo install the [latest trunk](https://github.com/codedread/scour) version (which might be broken!) from GitHub:\n\n```console\npip install https://github.com/codedread/scour/archive/master.zip\n```\n\n## Usage\n\nStandard:\n\n```console\nscour -i input.svg -o output.svg\n```\n\nBetter (for older versions of Internet Explorer):\n\n```console\nscour -i input.svg -o output.svg --enable-viewboxing\n```\n\nMaximum scrubbing:\n\n```console\nscour -i input.svg -o output.svg --enable-viewboxing --enable-id-stripping \\\n  --enable-comment-stripping --shorten-ids --indent=none\n```\n\nMaximum scrubbing and a compressed SVGZ file:\n\n```console\nscour -i input.svg -o output.svgz --enable-viewboxing --enable-id-stripping \\\n  --enable-comment-stripping --shorten-ids --indent=none\n```\n","funding_links":[],"categories":["Image","Compression","Python"],"sub_categories":["Availability \u0026 compatability"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscour-project%2Fscour","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscour-project%2Fscour","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscour-project%2Fscour/lists"}