Skip to main content

A Python driver for Zombie.js

Project description

A Python driver for Zombie.js, a headless browser powered by node.js.

from zombie import Browser
b = Browser()
b.visit('http://pypi.python.org/').fill('term', 'Zombie').pressButton('submit')
assert "A Python driver for Zombie.js" in b.body.text

brew install node
curl https://www.npmjs.org/install.sh | sh
npm install zombie

travis

Installing

To install Zombie from PyPI:

$ pip install zombie

…or, for the latest (unstable) tip:

$ git clone https://github.com/ryanpetrello/python-zombie -b next
$ cd python-zombie && python setup.py develop

Development

Source hosted at GitHub. Report issues and feature requests on GitHub Issues.

To fix bugs or add features to zombie, a GitHub account is required.

The general practice for contributing is to fork zombie and make changes in the next branch. When you’re finished, send a pull request and your patch will be reviewed.

Tests require tox and can be run with python setup.py test.

All contributions must:

  • Include accompanying tests.
  • Include API documentation if new features or API methods are changed/added.
  • Be (generally) compliant with PEP8. One exception is that (for consistency, and to demonstrate their analogous nature) API methods on zombie.Browser should follow the camel case formatting set forth in the zombie.js API (e.g., Browser.pressButton, not Browser.press_button).
  • Not break the tests or build. Before issuing a pull request, ensure that all tests still pass across multiple versions of Python.
  • Add your name to the (bottom of the) AUTHORS file.

Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.0a5

History Node

0.1.0a4

History Node

0.1.0a3

History Node

0.1.0a2

History Node

0.1.0a

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
zombie-0.2.0.tar.gz (16.5 kB) Copy SHA256 hash SHA256 Source None Apr 3, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page