Skip to content
forked from niwinz/phantompy

Phantompy is a headless WebKit engine with powerful pythonic api build on top of Qt5 Webkit

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE.phantompy
Unknown
LICENSE.qjson
Notifications You must be signed in to change notification settings

lfayoux/phantompy

 
 

Repository files navigation

Headless WebKit engine for Python

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

WARNING: This project is abandoned due big design problems (python always works outside the QT eventloop, that makes some thins like js events management very ugly and some other things impossible). I can give the project to any one that want continue the development.

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

About

Phantompy is a headless WebKit engine with powerful pythonic api build on top of Qt5 Webkit

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE.phantompy
Unknown
LICENSE.qjson

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.8%
  • Python 11.3%
  • Yacc 2.9%
  • CMake 1.3%
  • Other 0.7%