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.
Release files for text2svg 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| text2svg-0.3.0.tar.gz | 22.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| text2svg-0.3.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| text2svg-0.3.0-cp39-cp39-win32.whl | CPython 3.9 | CPython 3.9 | Windows x86-32 | Details |
| text2svg-0.3.0-cp39-cp39-manylinux2010_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.12+ x86-64 | Details |
| text2svg-0.3.0-cp39-cp39-manylinux2010_i686.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.12+ x86-32 | Details |
| text2svg-0.3.0-cp39-cp39-macosx_10_9_x86_64.whl | CPython 3.9 | CPython 3.9 | macOS 10.9+ x86-64 | Details |
| text2svg-0.3.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| text2svg-0.3.0-cp38-cp38-win32.whl | CPython 3.8 | CPython 3.8 | Windows x86-32 | Details |
| text2svg-0.3.0-cp38-cp38-manylinux2010_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-64 | Details |
| text2svg-0.3.0-cp38-cp38-manylinux2010_i686.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-32 | Details |
| text2svg-0.3.0-cp38-cp38-macosx_10_9_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.9+ x86-64 | Details |
| text2svg-0.3.0-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| text2svg-0.3.0-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details |
| text2svg-0.3.0-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| text2svg-0.3.0-cp37-cp37m-manylinux2010_i686.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-32 | Details |
| text2svg-0.3.0-cp37-cp37m-macosx_10_9_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.9+ x86-64 | Details |
| text2svg-0.3.0-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| text2svg-0.3.0-cp36-cp36m-win32.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-32 | Details |
| text2svg-0.3.0-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| text2svg-0.3.0-cp36-cp36m-manylinux2010_i686.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-32 | Details |
| text2svg-0.3.0-cp36-cp36m-macosx_10_9_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.9+ x86-64 | Details |
Total release size:60.0 MB
Release files / text2svg-0.3.0.tar.gz
| Download URL | text2svg-0.3.0.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49ca6af7ce2b16141e7892f4324c1ce3183526ba5056880af6533c1dad6bef82
|
|
BLAKE2b-256 checksum How to use checksums |
29aa429cc645cec1be6f245e6dae7009862f73d1316ddab379e619b883eeb0cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp39-cp39-win_amd64.whl
| Download URL | text2svg-0.3.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
34b431bbb37c0a0fc446fa2fae96f09ace83330aecaf04b27a33283dbdd595f6
|
|
BLAKE2b-256 checksum How to use checksums |
5db27108fd0a1a36d226396e8a2809d813a2a692c557b72d7ca6e450b75e1e38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp39-cp39-win32.whl
| Download URL | text2svg-0.3.0-cp39-cp39-win32.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
05934c6ef666218ae16be28f5b5e3ac03247c66cdf51547f3d507c387d90c5cf
|
|
BLAKE2b-256 checksum How to use checksums |
846ef7ae438ad16049c358417dc225dd4d5b3abff06992cfd23ea095fff4316f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | text2svg-0.3.0-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
543aeb096e69796f1f729f90556e679ef2a7bfc15eb6abffd188987fad03c007
|
|
BLAKE2b-256 checksum How to use checksums |
5a36b7119e6500f48efb00130ce9e3af6211f672315791f0dc668b0ab940931e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp39-cp39-manylinux2010_i686.whl
| Download URL | text2svg-0.3.0-cp39-cp39-manylinux2010_i686.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
df20605a9d9cc8e16693a64f91d832d3ec82048c913be39ad4977b6414785e1d
|
|
BLAKE2b-256 checksum How to use checksums |
b6031508be7552896e303e7f83d6aad0ee1dbca8f37f80f79cd0bb53c4da1277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | text2svg-0.3.0-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
cb8c4084aabe9e09354bc49fd9a2dd9294867eff40f556d2660912c47a4b5585
|
|
BLAKE2b-256 checksum How to use checksums |
f38d1625104b8290fb24f777741a9785ed3fdc4ef8d403243480eeec31f8b619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp38-cp38-win_amd64.whl
| Download URL | text2svg-0.3.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
109baebf67b83a515e11f82ea61548328b25a485b61922b33fb397110349ad3b
|
|
BLAKE2b-256 checksum How to use checksums |
fece9d422372872776d73edbbcb8d98633aadb12a1265a1ffe4522cce726fd29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp38-cp38-win32.whl
| Download URL | text2svg-0.3.0-cp38-cp38-win32.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
e3838eeec05bec2c4354f383c13cd558385ee101005270039adcac0c0299c10d
|
|
BLAKE2b-256 checksum How to use checksums |
ab14753bf4e393e7e975d6033c2ae9e2ce75316e16ee014062bfb54bd244ea59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | text2svg-0.3.0-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
ba79dc503435863045113d6720cffb5cb8c7cc0248385bda5426febd3594d141
|
|
BLAKE2b-256 checksum How to use checksums |
bfc1da44fd658b46e234b9d18e00102bed4ea0f2e656f5d1f6a287bc5aa81ef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp38-cp38-manylinux2010_i686.whl
| Download URL | text2svg-0.3.0-cp38-cp38-manylinux2010_i686.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
ff1e20acc2f952eea3c64b75da24f3f3aa76d590ffb5abc31f4396ec07195a34
|
|
BLAKE2b-256 checksum How to use checksums |
2553069adc9083315c57ff3ce165f17a0ee05bb0d7134ba08a56a403190a1064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | text2svg-0.3.0-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2432c865a9116f9fcb18f3d7d17477af0b679f23210ba167adb2ff6b64381d5
|
|
BLAKE2b-256 checksum How to use checksums |
416295217c12469a83326b4e2d92ff684282369390d11975bb4fae798bf217e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp37-cp37m-win_amd64.whl
| Download URL | text2svg-0.3.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4f3cd94d0913c49708ae77699c6588c7c6659c7760db41ef4221ea5326b5729a
|
|
BLAKE2b-256 checksum How to use checksums |
61225f1f8b6c34b12203c690eea9e729da776be6248297712784f829d85e4c84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp37-cp37m-win32.whl
| Download URL | text2svg-0.3.0-cp37-cp37m-win32.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
a03b8f037020120fef15078823a204a23d1cb3d7d80c3d7f61d2945c0a790883
|
|
BLAKE2b-256 checksum How to use checksums |
2f1b55623fb14b0ee15e71c41bf192e0973a7506008bf05970bf9c8a3ac4d883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | text2svg-0.3.0-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
db33299fe37e3a2917bf3dd3ced4fb6f4dca7c18dce7e3292ae8447b18ee5940
|
|
BLAKE2b-256 checksum How to use checksums |
3ab58a14013edc7f6abba58130a73e00cc635fbc58574da1736fd1f4759339a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp37-cp37m-manylinux2010_i686.whl
| Download URL | text2svg-0.3.0-cp37-cp37m-manylinux2010_i686.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
fc455d1669c809a13d003fd4d85eb3f9a36cc7e40b017eaa1586cc8f869445b8
|
|
BLAKE2b-256 checksum How to use checksums |
10878e040e3e65d4f27df13b897b1870c9b70f333177c2901c40398f9a485400
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | text2svg-0.3.0-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
19614f2a41369069398c13149b6f46184268971813c72986940826be1e22b0db
|
|
BLAKE2b-256 checksum How to use checksums |
f95ddef24fca44ceb004f5bd4a12e6b5bf26896af8497f559e53e69a7de9b1bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp36-cp36m-win_amd64.whl
| Download URL | text2svg-0.3.0-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8c3a0e534121dc706951a73d465398510475b6b3f15d3618f304f52b5b75751f
|
|
BLAKE2b-256 checksum How to use checksums |
9780cf2fb55c8cbb4c8aa5def30aed3a5e518e5fb149227c029a1d6a6bc2167a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp36-cp36m-win32.whl
| Download URL | text2svg-0.3.0-cp36-cp36m-win32.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
33aac85eb2783e4e9ba60bfe5a4f350fd46823214976acd9949dd7ed5e045609
|
|
BLAKE2b-256 checksum How to use checksums |
ac8a61c2cf220bc006c59f9bf7e6f45c068e111c14e5a6997205e014892d9210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | text2svg-0.3.0-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a35e12c60e7b09673b8bcf5b18e46ab694c5730fea196b3d29ec6442580d8be3
|
|
BLAKE2b-256 checksum How to use checksums |
8c460b8f074e1936315d79eed24e6b0ad4b29d4816239f665c033000a94348a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp36-cp36m-manylinux2010_i686.whl
| Download URL | text2svg-0.3.0-cp36-cp36m-manylinux2010_i686.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
fbe405ce5d2f43f02a7e3fdf2579b6d40b1f29e4a389c5eb87ec4c2ec7fb7dd6
|
|
BLAKE2b-256 checksum How to use checksums |
10e56c2a9f62f9dff7c5b22c969616cd1ad2fbd636ef7fd8f65a7dac9e27f96b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / text2svg-0.3.0-cp36-cp36m-macosx_10_9_x86_64.whl
| Download URL | text2svg-0.3.0-cp36-cp36m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
5acd31b1613f90e1511929b6ac9e5b80bca04f33d24514a3227fafcd50cbe256
|
|
BLAKE2b-256 checksum How to use checksums |
3e11904f39ff1ee8c61f7e7fb33cb73326c8bd133ba470f9840ecdb4f7033f0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|