<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  <meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>RepoView: Extra Packages for Bauman</title>
  <link href="layout/repostyle.css" type="text/css" rel="stylesheet" />
  <meta content="noindex,follow" name="robots" />
</head>
<body>
    <div class="levbar">
      <p class="pagetitle">cobra-gpl</p>
      <ul class="levbarlist">
        <li>
        <a href="cobra-gpl.group.html" class="nlink" title="Back to package listing">« Back to group</a>
    </li>
    </ul>
    </div>
    <div class="main">
        <p class="nav">Jump to letter: [
          <span class="letterlist">
            <a href="letter_a.group.html" class="nlink">  A  </a><a href="letter_c.group.html" class="nlink">  C  </a><a href="letter_d.group.html" class="nlink">  D  </a><a href="letter_e.group.html" class="nlink">  E  </a><a href="letter_f.group.html" class="nlink">  F  </a><a href="letter_g.group.html" class="nlink">  G  </a><a href="letter_j.group.html" class="nlink">  J  </a><a href="letter_l.group.html" class="nlink">  L  </a><a href="letter_m.group.html" class="nlink">  M  </a><a href="letter_p.group.html" class="nlink">  P  </a><a href="letter_r.group.html" class="nlink">  R  </a><a href="letter_s.group.html" class="nlink">  S  </a><a href="letter_t.group.html" class="nlink">  T  </a><a href="letter_u.group.html" class="nlink">  U  </a><a href="letter_y.group.html" class="nlink">  Y  </a>
          </span>]
        </p>
        <h2>pyswf - SWF Parsing Utilities</h2>
        <table cellpadding="2" cellspacing="0" border="0">
          <tr>
            <th>Website:</th>
            <td><a href="https://github.com/timknip/pyswf">https://github.com/timknip/pyswf</a></td>
          </tr>
          <tr>
            <th>License:</th>
            <td>MIT</td>
          </tr>
          <tr>
            <th>Vendor:</th>
            <td>Tim Knip &lt;tim@floorplanner.com></td>
          </tr>
        </table>
        <dl>
        <dt>Description:</dt>
        <dd><pre>PYSWF
=====
A Python library for reading and writing SWF files.
PYSWF is a Python port of Claus Wahlers *great* SWF parser https://github.com/claus/as3swf
Can't thank Claus enough!

INSTALL
-------

    $ pip install pyswf==1.5.4

or:

    $ git clone git@github.com:timknip/pyswf.git
    $ cd pyswf
    $ python setup.py install

or you might need do:

    $ sudo python setup.py install

WINDOWS
-------
Install Pillow, lxml and pylzma from a binary distribution before running setup.
- [Pillow 2.9.0](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow)
- [lxml 3.4.0](https://pypi.python.org/pypi/lxml/3.4.0#downloads)
- [pylzma 0.4.6](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pylzma)

Installing the *.whl files:

    $ pip install the-downloaded.whl

USAGE
-----

Basic example:
--------------
```python
from swf.movie import SWF


file = open('path/to/swf', 'rb')


print SWF(file)
```


SVG export example:
-------------------
```python
from swf.movie import SWF
from swf.export import SVGExporter


file = open('path/to/swf', 'rb')


swf = SWF(file)


svg_exporter = SVGExporter()


svg = swf.export(svg_exporter)


open('path/to/svg', 'wb').write(svg.read())
```</pre></dd>
        </dl>
        <h3>Packages</h3>
        <table cellpadding="0" cellspacing="10" border="0">
        <tr>
            <td valign="top"><a href="../RPMS/noarch/pyswf-1.5.4-1.el7.centos.noarch.rpm" class="inpage">pyswf-1.5.4-1.el7.centos.noarch</a>
              [<span style="white-space: nowrap">107 KiB</span>]</td>
            <td valign="top">
            	<em>(no changelog entry)</em>
            </td>
        </tr><tr>
            <td valign="top"><a href="../SRPMS/pyswf-1.5.4-1.el7.centos.src.rpm" class="inpage">pyswf-1.5.4-1.el7.centos.src</a>
              [<span style="white-space: nowrap">51 KiB</span>]</td>
            <td valign="top">
            	<em>(no changelog entry)</em>
            </td>
        </tr>
        </table>
        <p class="footernote">
          Listing created by
          <a href="https://fedorahosted.org/repoview/" class="repoview">Repoview-0.6.6-4.el7</a>
        </p>
    </div>
</body>
</html>