Phantompy is a headless WebKit engine with full clean pythonic api build on top of Qt5 Webkit
Switch branches/tags
Nothing to show
Pull request Compare This branch is 95 commits behind niwinz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
lib
misc
phantompy
.gitignore
CMakeLists.txt
LICENSE
README.rst
setup.py
tests.py

README.rst

Headless WebKit engine for Python

Phantompy is a headless WebKit engine scriptable with a clean pythonic api.

Note: Currently in earlier stage of development. Use it for experiment only.

Components

The package has two components:

  • C++/C library what exposes a ondemand api to Qt5/QtWebkit (libphantompy)
  • Python app build on top of the libphantompy with ctypes

Tested with python: cpython-3.3, cpython-2.7 and pypy-2.0.1

Documentation

Currently there is no documentation available. You can see tests.py file for see some examples.

Installation

For compile and install a libphantompy you need g++ 4.8 (not tested with previous versions), qt5 and cmake 2.8.8+

cd build
cmake ..
sudo make install

For install python module:

python setup.py install