Darriall / Ghost.py

Webkit based scriptable web browser for python.

Home Page:http://ghost-py.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ghost.py

https://drone.io/github.com/jeanphix/Ghost.py/status.png

ghost.py is a webkit web client written in python:

from ghost import Ghost
ghost = Ghost()

with ghost.start() as session:
    page, extra_resources = session.open("http://jeanphix.me")
    assert page.http_status == 200 and 'jeanphix' in page.content

Installation

ghost.py requires either PySide (preferred) or PyQt Qt bindings:

pip install pyside
pip install ghost.py --pre

OSX:

brew install qt
mkvirtualenv foo
pip install -U pip  # make sure pip is current
pip install PySide
pyside_postinstall.py -install
pip install Ghost.py

About

Webkit based scriptable web browser for python.

http://ghost-py.readthedocs.org/en/latest/


Languages

Language:Python 90.2%Language:HTML 6.2%Language:JavaScript 2.2%Language:CSS 1.4%