Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 996 Bytes

README.rst

File metadata and controls

44 lines (25 loc) · 996 Bytes

Headless WebKit engine for Python

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

Note: Currently in an early stage of development. Use it for experiments only.

Components

The package has two components:

  • C++/C library which exposes a on-demand api to Qt5/QtWebkit (libphantompy)
  • Python app that builds on top of libphantompy with ctypes

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

Documentation

Partial documentation available on: https://phantompy.readthedocs.org/en/latest/

A lot of features are proof of concept and need more work.

Thanks

  • Benjamin Torsten Jolitz (@benjolitz) for the many ideas submitted.

FAQ

How truly headless is phantompy?

Thanks to Qt5 and QPA it's truly headless. You can run your apps without x11 with this environment variable:

export QT_QPA_PLATFORM=minimal