-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKG-INFO
executable file
·134 lines (97 loc) · 4.67 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Metadata-Version: 1.1
Name: svgwrite
Version: 1.0.1
Summary: A Python library to create SVG drawings.
Home-page: http://bitbucket.org/mozman/svgwrite
Author: Manfred Moitzi
Author-email: [email protected]
License: GPLv3
Download-URL: http://bitbucket.org/mozman/svgwrite/downloads
Description:
svgwrite
========
Abstract
========
A Python library to create SVG drawings.
a simple example::
import svgwrite
dwg = svgwrite.Drawing('test.svg', profile='tiny')
dwg.add(dwg.line((0, 0), (10, 0), stroke=svgwrite.rgb(10, 10, 16, '%')))
dwg.add(dwg.text('Test', insert=(0, 0.2), fill='red'))
dwg.save()
for more examples see: examples.py
Installation
============
with pip::
pip install svgwrite
or from source::
python setup.py install
Documentation
=============
* http://packages.python.org/svgwrite
* http://readthedocs.org/docs/svgwrite/
send feedback to [email protected]
svgwrite can be found on bitbucket.org at:
http://bitbucket.org/mozman/svgwrite
NEWS
====
Version 1.0.1 - 08.06.2012
* added inline stylesheets
* added examples created by Lawrence Tattrie
Version 1.0.0 - 27 May 2012
* stable
* tested with CPython 2.7, CPython 3.2, pypy-1.8
* added script tag - thx to jmahmood
* docs also available at: http://readthedocs.org/docs/svgwrite
Version 0.2.4 - 30 December 2011
* beta version
* Python 2.7: all strings will be converted by the unicode() function, for
strings containing none-ascii-characters use prefix ``u""`` or better
use ``from __future__ import unicode_literals``, because this is
Python 3 compatible.
* tested with CPython 2.7, CPython 3.2, and PyPy 1.7
* BUGFIX: color parsing accepts white spaces in ``rgb()`` like ``rgb(0, 0, 0)``
Version 0.2.3 - 13 November 2010
* beta version
* Python 3.1 support
* splitted examples.py into several files and moved them to
the subdir 'examples'
Version 0.2.2 - 05 November 2010
* alpha version
* removed 'attribs' parameter from all constructors
* new elements: Set, Animate, AnimateMotion, AnimateColor,
AnimateTransform, all filter elements
* added set_desc(title, desc), set_metadata(xmldata) to BaseElement class
* moved content of interfaces.py to mixins.py, (ITransform -> Transform and so on)
Version 0.2.1 - 31 October 2010
* alpha version
* new elements: Marker, ClipPath, Mask
* paint service: LinearGradient, RadialGradient, Pattern
Version 0.2.0 - 24 October 2010
* alpha version
* validator rewritten as validator2.py
* debug and profile options separated for each drawing object
* important change: create objects with factory functions of the
*Drawing* class: drawing.<svg-elementname>(...)
* added mixins for setting stroke and fill properties
* new elements: Hyperlink, Image, TextArea,
Version 0.1.0 - 26 September 2010
* alpha version
* new elements:
* basic shapes: Line, Rect, Circle, Ellipse, Polyline, Polygon, Path
* text elements: Text, TSpan, TRef, TextPath
* container elements: Group, Symbol, SVG, Use, Defs
* for examples see: examples.py
Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Intended Audience :: Developers
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides: svgwrite