Giter Club home page Giter Club logo

text2svg's Introduction

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.

This will be archived until I find time to work on this.

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.

text2svg's People

Contributors

dependabot-preview[bot] avatar naveen521kk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

micahzheng

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.