This program takes an XML file containing an SVG or an RFC document. It then compares all of the SVG elements with the schema defined in the document with RFC 7996 bis. The program has the option of modifying and writing out a version of the input that passes the defined schema.
Usage
svgcheck accepts a single XML document as input and optionally outputs a modified version of the document.
Basic Usage
svgcheck [options] SOURCE
Options
| Short | Long | Description |
|---|---|---|
-C |
--clear-cache |
purge the cache and exit |
-h |
--help |
show the help message and exit |
-N |
--no-network |
don't use the network to resolve references |
-q |
--quiet |
dont print anything |
-r |
--repair |
repair the SVG so it meets RFC 7966, only emit the new file if repairs are needed |
-a |
--always-emit |
repair the SVG file if needed, emit the file even if no repairs are needed |
-v |
--verbose |
print extra information |
-V |
--version |
display the version number and exit |
-d RNG |
--rng=RNG |
specify an alternate RNG file |
-o FILENAME |
--out=FILENAME |
specify an output filename, default to stdout |
-g |
--grey-scale |
use a grey scale heuristic to determine what is white |
--grey-level |
cut off level between black and white |
Release files for svgcheck 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| svgcheck-0.12.0.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| svgcheck-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.2 kB
Release files / svgcheck-0.12.0.tar.gz
| Download URL | svgcheck-0.12.0.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d819de1fbf005deb0e31eaaafaff13c9f89dd9b86f699bba161135901161552e
|
|
BLAKE2b-256 checksum How to use checksums |
90ac2de07d19595ba7c1b0055e6994e30ab75cc5f9f6949f3057f1d7c62fe969
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.
Transparency logRelease files / svgcheck-0.12.0-py3-none-any.whl
| Download URL | svgcheck-0.12.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
204f1b2059909d1cddfe85db51cd71c0017ce7995555fe6f8feb173393c8e777
|
|
BLAKE2b-256 checksum How to use checksums |
59c9cfe9740e442e6f21eeb780a1f733c8ba40fe06811cbf1131dd9b440a8901
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.
Transparency log