punkybrowster.work / setup.py

"""Punky requires PyQt. How you obtain the PyQt binaries depends on your

- Mac: Build the binaries yourself (good luck), or find a package installer
- Linux: Use a package manager, such as apt (apt-get install python-qt4)
- Windows: Use the binary installer from Riverbank

import re

from setuptools import setup

# Get __version__, (w/wout spaces, single/doublequoted, w/wout hotfix number).
init = file('./punky/__init__.py').read()
version = re.search(r"__version__ ?= ?(?:'|\")(\d+\.\d+(?:\.\d+)?)(?:'|\")",
assert version

    description="Programmatic web browsing module",
    author="Leapfrog Direct Response LLC",
    license="GNU Public License v3.0",
PunkyBrowster is a programmatic browser with a synchronous API. It is a fork of
the spynner project. We remove unessential stuff like URL filtering, download
handling, and cookie emulation. We also remove some potentially harmful stuff
like JavaScript injection. What's left is a fairly lean core of functionality,
and on top of that we add some extra support for DOM queries and mouse click
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Natural Language :: English',
        'Operating System :: POSIX',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.