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.2.0.tar.gz
.
File metadata
- Download URL: text2svg-0.2.0.tar.gz
- Upload date:
- Size: 18.9 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d603edb9784750c0ad1bc8223880ff03b1433858575bda0281caa4a206d78019 |
|
MD5 | 384f1878361218cc2482bd9f21d23800 |
|
BLAKE2b-256 | 8c7def672b96c089313aeea8e101b13ed9de9cf50e07d06bc5477701c8e0b5da |
File details
Details for the file text2svg-0.2.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f37a05441931a9dd9e31e7a2b42703354f3fef88884c5ebdc2d6e01e17d514cc |
|
MD5 | 1494a90de37e5d39893e18d9993a80ab |
|
BLAKE2b-256 | 518378e7c014368d6196ff43d68dd2abdbe57e4a8ed49e0112d06ce17209ebb9 |
File details
Details for the file text2svg-0.2.0-cp39-cp39-win32.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2924b93406bff177d6b929f6aa3fef22ef2553c56bbca0bacec024b4750542d4 |
|
MD5 | 4f5ce09a42b81fae51a1227fe1f8a0aa |
|
BLAKE2b-256 | 16ea50675a5d32c82738f2f494ad8aa9801563859d41d796d60d2f50f6839ab4 |
File details
Details for the file text2svg-0.2.0-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp39-cp39-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.5 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a4f0dcccde6e5e8b61999a2e600b6f9cb3bd79833ff761fecff839e36b0956d |
|
MD5 | 1d73a5af134a571a3e603f76ae89b1d6 |
|
BLAKE2b-256 | abbb11fa0c6003badcfda2eddbf38dfe782d109a2de82e2a3320d6402dd878cf |
File details
Details for the file text2svg-0.2.0-cp39-cp39-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp39-cp39-manylinux2010_i686.whl
- Upload date:
- Size: 1.5 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb92ff84b15d2477b9dfea283837c7b7918777f73dd6ca15f356933bfe8773a6 |
|
MD5 | 0b9a071c286762403e7c57144b7c2d93 |
|
BLAKE2b-256 | 561f745e7491a1c8eefe2e1a366285b929e2dcf8e70d1e5b483ee80afdd597b5 |
File details
Details for the file text2svg-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.4 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81fde97a988b77a3191e2d18c270c7be5ff23daab9a88964d5237b9bf48469aa |
|
MD5 | d8803562915f36e81ed603874bb7de23 |
|
BLAKE2b-256 | 1e2d173c92e787826dc57b77d5aebff1b4fce2af9cdb111811c16c3e340cdb13 |
File details
Details for the file text2svg-0.2.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23690b387105cd988d7c73b54dbcf38532de1653a16b5515b83978defa774e8c |
|
MD5 | 8fd45051920ea7dd343821a4fa1bc5b5 |
|
BLAKE2b-256 | bc177608676dd7e832933a9239304a993e13236aa38259e5ca5a204ebd8e5b45 |
File details
Details for the file text2svg-0.2.0-cp38-cp38-win32.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963f48172826e342ad647f2e4dd212c72fea3b4b9364cfc926d4556e6dc224a9 |
|
MD5 | faa96e417a586014c05f69b1435df099 |
|
BLAKE2b-256 | 08b80f8664b66cecaa23eabf84f2fabcaa3bed5515a28899c96cfa888821a05d |
File details
Details for the file text2svg-0.2.0-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 114498512847f53f9a2a69d0601e0b911f839b97009af7b861eaa3c6b60203f1 |
|
MD5 | 837a581ea3f64a09ce2f494c3a58609c |
|
BLAKE2b-256 | 89842ea26cff6cfc9b464d670c0a8a3c200b28bc6c7a6bd13f90df835dec0c5a |
File details
Details for the file text2svg-0.2.0-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf972b0293051c2588e88f80e1e8432a1322e00c5a5d9cf5c96f2df4df0e11e7 |
|
MD5 | cb311987b85acfc06f3cb68e22b25fcb |
|
BLAKE2b-256 | 8455e8ae8dea4521253d98f1e56bd6ab8fa4b373a5d4c6c2452b46d220a0fdfd |
File details
Details for the file text2svg-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.4 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32b905d71c8a65edf89d907deff35a22e3081cacff800910a6c1f2c22311e9a3 |
|
MD5 | 45d44b7a0cb693db25c378201fde5b44 |
|
BLAKE2b-256 | 833ceda38beb966a32dad45acedf07e7cba4b64ab9c453ee90ed3669c369c501 |
File details
Details for the file text2svg-0.2.0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe30ee42fbf461f52ba4936c3025ded1897f8d0487fb31978c9b58bea185c9cc |
|
MD5 | 9c2f7bcd95585c265cb5b5954934065d |
|
BLAKE2b-256 | 29e27bbb4723c5e5cac4e73e28341b634f2ff54de638e52a5ef47f05c617f0e1 |
File details
Details for the file text2svg-0.2.0-cp37-cp37m-win32.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7e0d4a9f652a89e4ddce36c33df3ccd1a33fd8d6437237d41e748c6d7b1f5e |
|
MD5 | 6cec0f6067026f5aba4aa15e3b2a465c |
|
BLAKE2b-256 | 994ada67c8954d29c023c45524ac56e70460d6259124973fe9b801f967818374 |
File details
Details for the file text2svg-0.2.0-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.5 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a9d7614b32ef2a874ca295dcdb259fae02c54c56d9c6b25b64d1805a384656e |
|
MD5 | 5cb797740a62fab161f115603e7b4b0d |
|
BLAKE2b-256 | b0c01c0002efbb0f934a9a8c2a8e5534869f36bf143ca81424da90cd61a58d74 |
File details
Details for the file text2svg-0.2.0-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 1.5 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06d6fa41da1d5c7acf3d56b56514ad0844128e18571def287b00672fe7c1c68c |
|
MD5 | 21f52ef4d291d6c7d1f03310c0c596ac |
|
BLAKE2b-256 | 59683e1a394c80304b6d4f35ccfb49619bf8254ec744b3d0e778fa8a8820f4cc |
File details
Details for the file text2svg-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.4 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f661362fd8d7c11250fea5a312b122bc7377c7ad3b29d56e4c39f792b6cb4a |
|
MD5 | 78dfe96202ca1d1274603cd81f4d6331 |
|
BLAKE2b-256 | ca2db6691e6128198630ae42902081b6a55bce00ce8b2218de808121dd5f1595 |
File details
Details for the file text2svg-0.2.0-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1acdae620fb2b34a75dcdf6f1cfff4e6ad75fa53c3cd21572c332c1648a8b39e |
|
MD5 | 1b1fbdfed07ed2d023b534a038374d2d |
|
BLAKE2b-256 | 4138507badf9d533e9f21bc13f0e58af335323849316aa3c96d82fc552218491 |
File details
Details for the file text2svg-0.2.0-cp36-cp36m-win32.whl
.
File metadata
- Download URL: text2svg-0.2.0-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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1660ed731d3c9cd6f71b7f2fe9ca563f45d96dc93786c29f4addc2127a48db78 |
|
MD5 | 0b8a837b06e920899e368aab165d35de |
|
BLAKE2b-256 | edbb884223bdb558572d65dabacb98d7c93d38287b0a056b7c37a91a60021985 |
File details
Details for the file text2svg-0.2.0-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.5 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a49e2e5c16f0e1a6bef6ab0a744c3b091592e1af4a78f1de6b348717600e91e |
|
MD5 | e5ae87adb0d9f9784fb8f2173cf8d861 |
|
BLAKE2b-256 | a8087004cf2ddb2a68bc509a8c738648caa41806590e357984144ab6164bb722 |
File details
Details for the file text2svg-0.2.0-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 1.5 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a32d79f67a7106c5f89c0cd81bce13d77a1545e67f33815d888de7982af6e7dc |
|
MD5 | 6002fdf0ce1900942eb3fd75bf87709a |
|
BLAKE2b-256 | 48b9ab7fcbf703f38b0f9c3b2ea013147a890edf0856eaf3b6979ea730ac21b8 |
File details
Details for the file text2svg-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 3.4 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.51.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cf4aead0ef6e214cfe60baf6e4ea48a97f62c63dcd9b887de2540e063554d3e |
|
MD5 | 3ef5f916bd343307e7dcb7d003a238dd |
|
BLAKE2b-256 | 81bd73cf3460cb676d0530da66cd1a597cf88c436bbf990dd129030d20d83aeb |