Skip to main content

bvg-py

Python implementation of BVG (Binary Vector Graphics) — a compact binary format for 2D vector graphics.

Installation

pip install bvg

Usage

import bvg

doc = bvg.new(800, 600)
doc.rect(10, 20, 100, 50, fill="#ff0000")
doc.save("output.bvg", codec="zstd", level=19)

Features

  • Read and write BVG files
  • Support for all chunk types: COLR, GRAD, IMGS, STYL, NODE, META, THMB
  • Codecs: none, zlib, zstd, lz4, rle
  • RLE prefilter support
  • PyQt6 renderer (bvg.render.qt.BvgCanvas)

License

MIT

Metadata

Release files for bvg 1.0.4

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

Source distribution (sdist)

Source distribution for bvg 1.0.4
File Size Uploaded Provenance Actions
bvg-1.0.4.tar.gz 22.7 kB Without provenance Details for bvg-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 47.5 kB

Release files / bvg-1.0.4.tar.gz

Download URL bvg-1.0.4.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6ce13e87f0a5e4c6b03d3431e21b2a9cb5f9f5b05a9fda5bdab466fab62b7a07
BLAKE2b-256 checksum
How to use checksums
61ef95322e6e7e27bed6b945425b4546776361ecf211f547091063f55561b4fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release files / bvg-1.0.4-py3-none-any.whl

Download URL bvg-1.0.4-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b07576a78b8705d3cdc1d8784af80fe51b8e060f9538364ebf357176b9cf397f
BLAKE2b-256 checksum
How to use checksums
0888e678024469ceb295fc0b2ba03243a931761de8508556303829efab737aee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Security for bvg 1.0.4

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.

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