Skip to main content

A tool for working with scalable vector graphics.

Project description

svgen (0.9.3)

python Build Status codecov PyPI - Status Dependents (via libraries.io)

A tool for working with scalable vector graphics.

Consider sponsoring development.

(interface documentation)

Python Version Support

This package is tested with the following Python minor versions:

Platform Support

This package is tested on the following platforms:

  • ubuntu-latest
  • macos-latest
  • windows-latest

Introduction

This utility provides a means to work on graphics with a programmatic workflow.

Command-line Options

$ ./venv3.13/bin/svgen -h

usage: svgen [-h] [--version] [-v] [-q] [--curses] [--no-uvloop] [-C DIR]
             [-c CONFIG] [--height HEIGHT] [--width WIDTH] [--images]
             [-o OUTPUT]
             [scripts ...]

A tool for working with scalable vector graphics.

positional arguments:
  scripts              scripts to run for composing the SVG document (in
                       order)

options:
  -h, --help           show this help message and exit
  --version            show program's version number and exit
  -v, --verbose        set to increase logging verbosity
  -q, --quiet          set to reduce output
  --curses             whether or not to use curses.wrapper when starting
  --no-uvloop          whether or not to disable uvloop as event loop driver
  -C, --dir DIR        execute from a specific directory
  -c, --config CONFIG  top-level configuration to load (default: 'svgen.json')
  --height HEIGHT      height of the document, if not specified by
                       configuration (default: 100)
  --width WIDTH        width of the document, if not specified by
                       configuration (default: 100)
  --images             generate output images
  -o, --output OUTPUT  file to write SVG output (default: 'svgen.svg')

Internal Dependency Graph

A coarse view of the internal structure and scale of svgen's source. Generated using pydeps (via mk python-deps).

svgen's Dependency Graph

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

svgen-0.9.3.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

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

svgen-0.9.3-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

Details for the file svgen-0.9.3.tar.gz.

File metadata

  • Download URL: svgen-0.9.3.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for svgen-0.9.3.tar.gz
Algorithm Hash digest
SHA256 ed162e93dd39635fd969aecbf3100457d32de65cddb395a7d72bb018d93fda81
MD5 bb34bb4b0647e9a763b0ad67380237a0
BLAKE2b-256 7c57b306a62660db04508e5611535b96192445ad0e6dc6efbac352b52b37d87e

See more details on using hashes here.

File details

Details for the file svgen-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: svgen-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 52.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for svgen-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e1cd9ee873dd9157d41d99f67597409630a04168d03df55298901f6db209f105
MD5 73f17be54b119bf5611eb6377e452ddb
BLAKE2b-256 6021a62a4c1cee2a6060b3b15f15060617c33c5b32e02f15c83518241c442bc1

See more details on using hashes here.

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