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
You would need Pango and Cairo along with the header files and its dependencies.
Installing using pip,
pip install text2svg
ad 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.
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.0.1.tar.gz
.
File metadata
- Download URL: text2svg-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0b7a4e1c6d37ffe91d9d07787d9673cce80b39f4a2290933d4cdcb06b67327f |
|
MD5 | 2d1e113afd912883f76f8be2c8df2af3 |
|
BLAKE2b-256 | 9638e61dc0324b9a80f6a4f57e90653869971280cd7e23de07177ed0a509164b |
File details
Details for the file text2svg-0.0.1-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f209f07492137f8da07ccbd621d2eff818201d05e3465e8f03083faa9824222a |
|
MD5 | 0ef1b741e0ba12b8f9ce3fdfaea1b47f |
|
BLAKE2b-256 | 18b548e383d8b1901fbc3bf84ef802defd2c038afbd644e3433aad2ccb3e3ae9 |
File details
Details for the file text2svg-0.0.1-cp39-cp39-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d876650c4164b9210bf52a2c6bb46479744bd0093d9c892930a99aadc509effb |
|
MD5 | bf888e9f9b2cfc2d2d9351076d8d5c53 |
|
BLAKE2b-256 | 371e5d3200e9c293e0a4a1cc08169b90008e6ebd0b6c905b175f67c6a4be4a65 |
File details
Details for the file text2svg-0.0.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de46919b44945934ff443e75719659b993eb7ac4e5e3aac4c29803440de6f677 |
|
MD5 | 429cb876f14abc43fef328019b99b3d7 |
|
BLAKE2b-256 | 7c80b42df2bc6167e9e579d620f6d0a2931747e3cdb7e7edcddb325d982bd151 |
File details
Details for the file text2svg-0.0.1-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80a2db2ba2d85af0058d41b39fc200cfa799a8c5f4d1ef2e2d1535de4921427f |
|
MD5 | 0ef8ba8a379dfaceb9d73ef2b176344c |
|
BLAKE2b-256 | edcd5a888ebcd6d2d4e437c7b19a9239da24da1339b20d5dbdfe5dd6dffb1d34 |
File details
Details for the file text2svg-0.0.1-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c77f035d75b4e954037e448045f3670dc716adb807d34bc2ff12b119e9b92bc9 |
|
MD5 | e81e1939c48ae75713351a217d40866e |
|
BLAKE2b-256 | 2f8f0d50b21d150a4a0d4495514079de58bd9ae75ca6cf042ebd9f0df012b701 |
File details
Details for the file text2svg-0.0.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d231eac8be44389f460cbc158918ddcd726700ca1833f8ca606dca2192af69 |
|
MD5 | b7106c95f573867959c47b364c36afbb |
|
BLAKE2b-256 | b38f7b6ec998716ca4b3b02da04f4fccb490c67ea316641c3cfadcb318e5f977 |
File details
Details for the file text2svg-0.0.1-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9110efc093dd197b8ba4a7a044317bdaad6c3e0dbfdd8ea074e8b4edd959a9eb |
|
MD5 | fbe7f806b5fc719a661b02e93d9728c6 |
|
BLAKE2b-256 | 2514cf658658d61a1fa108de6b1c7e3de13459e6b712a3fee7d7674d21911fa0 |
File details
Details for the file text2svg-0.0.1-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f329a919ae37bd9e9442f30cafd72c6b13251ad6a7ae7123013ae38f799069 |
|
MD5 | 91b428de757706ed0251f56a15ccfefd |
|
BLAKE2b-256 | a9311d3a9448cb062c3dae25325e95c10a56a26a3227c02ff41fe04700acf774 |
File details
Details for the file text2svg-0.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb47f349fef4ef627e15fb9cf1a1087c735d78b4d18f8b399b67d0d4165d6ca |
|
MD5 | df869235db32e2895297b992484f2025 |
|
BLAKE2b-256 | f56b3cbe0777d4aa4f8f376910d3f7ee2c044614db81be7993e48aede827d76d |
File details
Details for the file text2svg-0.0.1-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fecefaa71184a00ada1e674cfc260f96bdaaaae63ddbf87774bd2d313f5c36c7 |
|
MD5 | 8f9a78191210a38489b9939d05915650 |
|
BLAKE2b-256 | 7f7783da9df4e919787bbb40521353a88c8f676465c2fac29e6b2889dd8b9b2d |
File details
Details for the file text2svg-0.0.1-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 681835111c8d4bacfffd08742a2d44cc94ec91551d0592c744ec649d55532029 |
|
MD5 | 139ee034080812dc73b5308dc9690d0a |
|
BLAKE2b-256 | a8806721f090fa26d211844b504811fc65bd56fa1cadff3ae807b36d221c9e9e |
File details
Details for the file text2svg-0.0.1-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: text2svg-0.0.1-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.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7511e393b08a1e28c17d5d0c1f5c5be9f945552de43615b1d7894ca3c00745a |
|
MD5 | 9db9d0e02bc626cd6941671927b33aaa |
|
BLAKE2b-256 | 91ddd46668e3537125ef494c9c465401cf4a6c245a2eb8469821ae9bbaf5178b |