Git Product home page Git Product logo

svg_utils's Introduction

image

image

Python-based SVG editor

This is an utility package that helps to edit and concatenate SVG files. It is especially directed at scientists preparing final figures for submission to journal. So far it supports arbitrary placement and scaling of svg figures and adding markers, such as labels.

See the blog post for a short tutorial.

The full documentation is available here.

Install

From PyPI

You can install svgutils from Python Package Index (PyPI) using the pip utility:

pip install svgutils --user

Note that the pip will attempt to install lxml library if it is not already installed. For the installation to be sucessful, you need development libraries of libxml2 and libxslt1. On Ubuntu and other Debian-derived Linux distributions you can install them via:

sudo apt-get install libxml2-dev libxslt-dev

From Conda

Installing svgutils from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

You can install svgutils from conda-forge channel:

conda install svgutils

If you don't want to add the channel to your configuration, you can specify it at the time of installation:

conda install svgutils -c conda-forge 

From sources

To install system-wide (needs administrator privilages):

python setup.py install

To install locally (do not forget to add $HOME/python/lib/python2.6/site-packages/ to your Python path):

python setup.py install --user

License

The package is distributed under MIT license (see LICENSE file for information).

svg_stack is a similar package that layouts multiple SVG files automatically (in a Qt-style).

svgmanip a related library that aims for a simple API with the ability to export to PNG accurately

cairosvg a command-line SVG to PNG converter for Python 3.4+

svglib a pure-Python library for reading and converting SVG

Authors

Bartosz Telenczuk ([email protected])

svg_utils's People

Contributors

abhisht51 avatar bradjc avatar brghena avatar btel avatar crazypython avatar cscreator avatar erickmr19 avatar esc avatar fkrecinic avatar jam-iko avatar khushishikhu avatar malfatti avatar neurodroid avatar samuelba avatar schlpbch avatar sjmf avatar technic avatar willwade avatar ziererf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.