Skip to main content

svgsprite

This is a simple script (no external dependencies) to regroup all the SVG files from a directory into a single sprite.

Installation

pip install svgsprite

Usage

svgsprite --src path/to/dir/with/svg/files --dest path/to/sprite/to/create

You can then refer to your icons with tags like this:

<svg>
  <use xlink:href="sprite.svg#my-svg-file"></use>
</svg>

Metadata

Release files for svgsprite 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for svgsprite 0.1.1
File Size Uploaded Provenance
svgsprite-0.1.1.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for svgsprite 0.1.1
File Interpreter ABI Platform
svgsprite-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / svgsprite-0.1.1.tar.gz

Download URL svgsprite-0.1.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
126317585c34ea4d51e97108778202e70a95770ed1ce687f920502f9b0817b1c
BLAKE2b-256 checksum
How to use checksums
dc4fed01a9b5d27264c4faeb6059eccf14c815a5f04f7d75bc5040d8cc080e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Release files / svgsprite-0.1.1-py3-none-any.whl

Download URL svgsprite-0.1.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29015c53161030c33a45f1f4d1ff0543b6a44f709d9bcfbb722f8b7d3bd2ebf4
BLAKE2b-256 checksum
How to use checksums
c87813efa9c680649538e762bd33d57fdebc88ce0abaf1646c7ff798774130f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Security for svgsprite 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page