semvec/pypi-packages huggingface dataset:
pyswf 1.5.4
SWF Parsing Utilities
License: MIT
Keywords: swf parser parsing decompile utilities

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

# create a file object
file = open('path/to/swf', 'rb')

# print out the SWF file structure
print SWF(file)
```


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

# create a file object
file = open('path/to/swf', 'rb')

# load and parse the SWF
swf = SWF(file)

# create the SVG exporter
svg_exporter = SVGExporter()

# export!
svg = swf.export(svg_exporter)

# save the SVG
open('path/to/svg', 'wb').write(svg.read())
```
x100daemon 0.1.1
Make daemon for your program
License: MIT
Keywords: x100 daemon lite

NAME
====

    x100daemon - Make daemon for your program


SYNOPSIS
========

.. code-block::


    from x100daemon import Daemon

    pidfile = '/var/pid/hello.pid'
    d = Daemon(pidfile)
    d.daemonize()

    #your program district


DESCRIPTION
===========

    x100daemon make daemon for your program 


METHODS
=======

pidfile
---------
   Assgin your pidfile path 

daemonize
----------
    make daemon 


SUPPORTED PYTHON VERSIONS
=========================

    daemonize only supports python 3.3 or newer.


EXAMPLES
========

example
-----------

.. code-block::

    from x100daemon import Daemon

    pidfile = '/var/pid/hello.pid'
    d = Daemon(pidfile)
    d.daemonize()

    #your program district
Marnadi 0.5.3
Yet another WSGI web framework
License: MIT
Keywords: WSGI,HTTP,REST

marnadi
=======

.. image:: https://travis-ci.org/renskiy/marnadi.svg?branch=master
    :target: https://travis-ci.org/renskiy/marnadi

Yet another WSGI Web Framework, the simplest and fastest ever written.

Has no dependencies. Works both with **Python 2** and **Python 3**.

Features
--------
* Support both of functional and object-oriented programming styles
* Dynamic routes, e.g. "/path/{param}/"
* Headers, query, data, cookies descriptors
* Rich extending abilities

Installation
------------
Simply execute following line::

    pip install marnadi

"Hello World"
-------------
Run this script and open http://localhost:8000/ on your browser:

.. code-block:: python

    from marnadi import Response
    from marnadi.wsgi import App

    application = App()
    
    
    @application.route('/')
    @Response.get
    def main_page():
        return 'This is main page'
    
    if __name__ == '__main__':
        from wsgiref.simple_server import make_server
        make_server('', 8000, application).serve_forever()

More complex example
--------------------
Script below additionally will respond to http://localhost:8000/foo/bar/ and http://localhost:8000/foo/ requests:

.. code-block:: python

    from marnadi import Response, Route
    from marnadi.wsgi import App


    class MainPageResponse(Response):

        def get(self):
            return 'This is main page'
    
    
    class FooBarResponse(Response):
    
        def get(self, foo, bar=None):
            return 'foo is {foo}, bar is {bar}'.format(foo=foo, bar=bar)
    
    routes=(
        Route('/', MainPageResponse),
        Route('/{foo}/', FooBarResponse, routes=(
            Route('{bar}/', FooBarResponse),
        )),
    )
    
    application = App(routes=routes)
    
    if __name__ == '__main__':
        from wsgiref.simple_server import make_server
        make_server('', 8000, application).serve_forever()