Skip to main content

Verify that an svg file is compliant with the RFC standards.

Project description

SVGCHECK

Release License PyPI - Version PyPI - Status PyPI - Format

Check SVG against RFC schema

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svgcheck-0.12.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

svgcheck-0.12.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file svgcheck-0.12.0.tar.gz.

File metadata

  • Download URL: svgcheck-0.12.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for svgcheck-0.12.0.tar.gz
Algorithm Hash digest
SHA256 d819de1fbf005deb0e31eaaafaff13c9f89dd9b86f699bba161135901161552e
MD5 8ec70b2e958b62bf1d5f92a71220bcb5
BLAKE2b-256 90ac2de07d19595ba7c1b0055e6994e30ab75cc5f9f6949f3057f1d7c62fe969

See more details on using hashes here.

Provenance

The following attestation bundles were made for svgcheck-0.12.0.tar.gz:

Publisher: pypi-publish.yml on ietf-tools/svgcheck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file svgcheck-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: svgcheck-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for svgcheck-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 204f1b2059909d1cddfe85db51cd71c0017ce7995555fe6f8feb173393c8e777
MD5 442d589c4d86fc6a6ce26daca7f1bbc5
BLAKE2b-256 59c9cfe9740e442e6f21eeb780a1f733c8ba40fe06811cbf1131dd9b440a8901

See more details on using hashes here.

Provenance

The following attestation bundles were made for svgcheck-0.12.0-py3-none-any.whl:

Publisher: pypi-publish.yml on ietf-tools/svgcheck

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page