Convert text to SVG file.
Project description
Text2SVG
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file text2svg-0.3.0rc1.tar.gz
.
File metadata
- Download URL: text2svg-0.3.0rc1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5875135f909380e8d711488b937b14f350b9d338d30f83e1756f97b92ac31e3 |
|
MD5 | b178ffeae560fc2f5dd399b3b6d5eda3 |
|
BLAKE2b-256 | 5438274c0fa95ecd64bd00dd75612ed82381a1e6f909bd682906986333e8b15a |
File details
Details for the file text2svg-0.3.0rc1-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76fc49b9e5345962e45e5cf4b90ecbdad7f3d8bfcc1f316ca4f3109d6bfdcc1b |
|
MD5 | ae0316a59a4f1256c702420ced04c825 |
|
BLAKE2b-256 | e4c0a395614b372e625a8c103ab17f52a3253ada0fa5a5676c627d8a5f0da144 |
File details
Details for the file text2svg-0.3.0rc1-cp39-cp39-win32.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp39-cp39-win32.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c6cdb99d3ecc13c2a8bc478c4fbaca6195a3677c905584053ecb3be7e96b287 |
|
MD5 | 20973e79b81c04ad953e2a3e0901ad7d |
|
BLAKE2b-256 | 742c2e66adafd04a1df3efd2ad489720f9a2d409041afe681e5774047c5974c0 |
File details
Details for the file text2svg-0.3.0rc1-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp39-cp39-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2d80ba2f68f6be5fc30b0ccb063d887cdd39c58d6828427ac94c1b22780392 |
|
MD5 | 35d09d598c52dde8f973cfd2fcf3a195 |
|
BLAKE2b-256 | dcc655a4c447c9140ab3de0c54f3ca504890bb42f1af6237319b783446324755 |
File details
Details for the file text2svg-0.3.0rc1-cp39-cp39-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp39-cp39-manylinux2010_i686.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.9, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0bac697359ae1e57c1e2a478849ecaef893957db717a74d50543a3a03739df5 |
|
MD5 | 9fe4c943e98a875e3bf3027c74f0b6a6 |
|
BLAKE2b-256 | bc3f2cd82aac0a18f272f1a02ffe49873977ec7cf1a730c89b38d5bea0c4ffc3 |
File details
Details for the file text2svg-0.3.0rc1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b698dc1e862880586dfdfc07f9ab4b05c6e528c2118e4c65e654364d23a8d2ea |
|
MD5 | ec1851075021f864b37985bfe6d75318 |
|
BLAKE2b-256 | b4dbda3fadeb5e4c1a1800fdaec2d3e6c4d15d17b3b2dff45933420a4c30ca98 |
File details
Details for the file text2svg-0.3.0rc1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b39c2b876b23e44c59e5742faa71f48dcd354f7d189880e2a9177aaf2e0cbbf |
|
MD5 | 8080dee80fab79c0196bc9b42f2e7fe5 |
|
BLAKE2b-256 | 3dce49713a41dbbda45abdac20d7ce2dc721ce782447b08d8c341ab099592fce |
File details
Details for the file text2svg-0.3.0rc1-cp38-cp38-win32.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp38-cp38-win32.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd6730d0cf146637c6c1200f326f2f82fd29bac081ae2a6fd53c1b5a40c775cf |
|
MD5 | 956756793fdaa015a22711435c4b1820 |
|
BLAKE2b-256 | f7dc4699b8a5a13741a0d580074514831bec5c72cf985bd2382412f55ca2ee85 |
File details
Details for the file text2svg-0.3.0rc1-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c19d8fa6849267234013ccec3b38569f46439066ff55faff631b317ccdba98 |
|
MD5 | 828e51d0d637a32bca9529bd41409427 |
|
BLAKE2b-256 | d9a50e5de3faf71920398d98f7a71b6735eb9eebb7c44f311c1783fe53705e1d |
File details
Details for the file text2svg-0.3.0rc1-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bbd4b534b5760021c40f7b4b7600ed7cd0e3285955655bcbeb7164b87d5a9d9 |
|
MD5 | 95608192e2a05a8ee4016ea9364ecc1a |
|
BLAKE2b-256 | fb316b26d165c4b77a3f0055c6c1a2b22b39bba2b910e080710e8ec5ace16477 |
File details
Details for the file text2svg-0.3.0rc1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 920448a55de750756ef9550f3d384bd67de1ae730ba2bfbca349e2322a56cadc |
|
MD5 | 1a808209867a3f9e4b8ef3da45674567 |
|
BLAKE2b-256 | a11f76cdd4262b71f57b2e47af4e04d8909c1d7d160da7ba089aa5210f07fc47 |
File details
Details for the file text2svg-0.3.0rc1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25a6d1987da5b7f50c54a380878c4c8b072581739f10a6c27b338f7aa64678b1 |
|
MD5 | 50f8f3337eaa44d93fc216c019e38c54 |
|
BLAKE2b-256 | 87b56b09d4de3563ff984c1e6ac6f14bc789edc01d0e5b9c548d02191d76f6fb |
File details
Details for the file text2svg-0.3.0rc1-cp37-cp37m-win32.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp37-cp37m-win32.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b386cd094f4033ef39733fd03ad1828613c82613dd1685072a2696ed6e30c5a |
|
MD5 | 96bd0618f4f61709c7693d1e84c0c9b6 |
|
BLAKE2b-256 | 55b54bff1452272e5faa45e92d2f3ded0b2a046118109a8ecd6eb576b424119f |
File details
Details for the file text2svg-0.3.0rc1-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d49cf1203f0af52278607d04a5e2a451f65de6f07e42a09e63a9e3e44392d6 |
|
MD5 | fc3feccb8edd18f6edb21a101588d2d4 |
|
BLAKE2b-256 | da7023ba5a0f66c875e310621c5460d491dec9bb5dd7c1fb0ab85bd754163cd9 |
File details
Details for the file text2svg-0.3.0rc1-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041e6a0bfab0f3f53aac909def7ec23eee81103314dedc6c708f057bf8fe72c1 |
|
MD5 | 7c18e9a3fb5f1948f201532423f5a462 |
|
BLAKE2b-256 | 3c5205bc81cfaa85cd4592740e50779fed586e1555fc11017fdaccab703adb80 |
File details
Details for the file text2svg-0.3.0rc1-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53504abf1b824bf5e7f7d97245933348a5e43cfbe136fe5c3b109832106fe9bc |
|
MD5 | 3603fbc9f043560fef2f868ab66f65e7 |
|
BLAKE2b-256 | d941a308ec6ec992c022974ca9b49d68ff734b82d6f02e80788075410d3f0174 |
File details
Details for the file text2svg-0.3.0rc1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71924fef9f7ea2d96f6854ab59ff7854024a66aa3d2b600e97d39e8ee4d1237a |
|
MD5 | 298ba23a7a92ee79c196f6ec83caec67 |
|
BLAKE2b-256 | 1f733ef3d9b48c643e6ecfe7e6fc4b8eb253e41bd4335e2c20bf574c292793ef |
File details
Details for the file text2svg-0.3.0rc1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp36-cp36m-win32.whl
- Upload date:
- Size: 3.9 MB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b375a1cee89afe12cf19037f8dbb099e1fb3a33e1c157a702728a30ae621e503 |
|
MD5 | d59dee1cb31112b9ee40416613873bcd |
|
BLAKE2b-256 | be5c6f48a4edb6393bcf1880a53b9595d23bdf8cbe2c7e92c83955afc9c9d713 |
File details
Details for the file text2svg-0.3.0rc1-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f67f753495323098373a49640ac7a3c29c30158cad31a13a6fc33c7de6995de |
|
MD5 | 61f3b24d2314a53c7f10bb6b1b3f771b |
|
BLAKE2b-256 | 86a9c678dec46219ca1280a76659b2d37bfa52ff44cb30049ce4412c5f101c8b |
File details
Details for the file text2svg-0.3.0rc1-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1c28a2f91614c067abecae9d2b00a6eb3e1fa46fee4d04db9ad1db8f8e2d6f |
|
MD5 | 243044b5be9e14af3ee1c1f12aa423a8 |
|
BLAKE2b-256 | 5fadbbca72877aa55c72b7e2d2ed96486041bf7333636ccac0ca06f8907ea002 |
File details
Details for the file text2svg-0.3.0rc1-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.3.0rc1-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.5 MB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7afadad1018f7eeeab7ad0720276d26ef6698b0d7c1128a4615e7bdb2659cb |
|
MD5 | 34c551ecff538c75f8871bb326983843 |
|
BLAKE2b-256 | 1a4134ed5657a15df14a1cceee32306d4bcd0943acd79c7b73f558b41756f40f |