phantompy

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

  • Owner: niwinz/phantompy
  • Platform:
  • License:: BSD 3-Clause "New" or "Revised" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

=================================
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:

.. code-block:: bash

export QT_QPA_PLATFORM=minimal

Main metrics

Overview
Name With Ownerniwinz/phantompy
Primary LanguageC++
Program languagePython (Language Count: 3)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2013-05-18 21:02:34
Pushed At2017-05-17 11:08:59
Last Commit At2014-03-20 19:25:24
Release Count3
Last Release Name0.10 (Posted on )
First Release Name0.5 (Posted on )
用户参与
Stargazers Count613
Watchers Count27
Fork Count33
Commits Count111
Has Issues Enabled
Issues Count10
Issue Open Count6
Pull Requests Count5
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private