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
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.
Metadata
Release files for zombie 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zombie-0.2.0.tar.gz | 16.5 kB | Without provenance | Details |
Release files / zombie-0.2.0.tar.gz
| Download URL | zombie-0.2.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90350ac1d233009ae320284859b6ccced995574ab20a1f3d2278818bedcedb7e
|
|
BLAKE2b-256 checksum How to use checksums |
c109850275b738e94859e3f8bc3047eb970b937e66513c60ff66077792891f4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zombie 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.