This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

a Webkit-based, headless web client

Project Description

# Overview

Author: Niklas Baumstark

A standalone version of the Webkit server included in [capybara-webkit][1]. It includes a slim Python wrapper and the following improvements over the original version from thoughtbot:

  • Wait command to wait for the current page to load
  • SetAttribute command to [configure certain QWebkit settings][2]
  • SetHtml command to [load custom HTML][3] into the browser (e.g. to execute scripts on web pages scraped by a static scraper)
  • SetViewportSize command to set the viewport size of the in-memory browser

If you are interested in web scraping using this server, have a look at [dryscrape][4].

# Building and Installing

To install the Python binding (this also builds the server and places it into Python’s site-package directory):

sudo python setup.py install

If you don’t need the Python bindings, you can also use the supplied build.sh shellscript to build the server only.

# Contact, Bugs, Contributions

If you have any problems with this software, don’t hesitate to open an issue on [Github](https://github.com/niklasb/webkit-server) or open a pull request or write a mail to niklas baumstark at Gmail.

# License

This software is based on [capybara-webkit][1]. capybara-webkit is Copyright (c) 2011 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

[1]: https://github.com/thoughtbot/capybara-webkit [2]: https://github.com/thoughtbot/capybara-webkit/pull/171 [3]: https://github.com/thoughtbot/capybara-webkit/pull/170 [4]: https://github.com/niklasb/dryscrape
Release History

Release History

This version
History Node

1.0

History Node

0.9.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
webkit-server-1.0.tar.gz (41.7 kB) Copy SHA256 Checksum SHA256 Source Jul 27, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting