Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

text2svg

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

text2svg

Convert text to SVG file.

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

Text2SVG

GitHub license GitHub issues PyPI PyPI - Format PyPI - Status GitHub Release Date pre-commit hook

Build Wheels

This is a small wrapper aoung Pango and Cairo which allows you to enter a text and get you svg files ready. This is wrapped using Cython.

Installation

For Windows and MacOS, wheels are provided which seems to be working. For linux it is not recommended to use the manylinux wheels which was published to PyPi as it seems that it is working well. Instead you can install Pango and Cairo along with the header files for your package manage and run the below command

pip install --no-binary :all: text2svg

Other users, can directly install using pip,

pip install text2svg

and checking your installation by running the below example.

Example

This is a small example on how it works.

>>> from text2svg import *
>>> info = TextInfo("Hello World","hello.svg",50,50)
>>> text2svg(info)

This will simply create a hello.svg in the current working directory.

Documentation

Documentation is located at https://text2svg.syrusdark.website

LICENSE

This project along with its documentation is licensed under GPL-v3. See LICENSE for details.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc