mirror of https://github.com/vitalif/phantomjs
parent
fd95c86d2b
commit
5b04c4e55b
|
@ -1,22 +0,0 @@
|
||||||
DEPENDENCIES
|
|
||||||
------------
|
|
||||||
* Python >= 2.6
|
|
||||||
* PyQt4 >= 4.8.0
|
|
||||||
* Qt >= 4.7.0
|
|
||||||
|
|
||||||
* python-argparse == (Python 2.6)
|
|
||||||
|
|
||||||
-> Windows
|
|
||||||
-------
|
|
||||||
You can download the required programs here.
|
|
||||||
|
|
||||||
Python - http://www.python.org/download/
|
|
||||||
Qt4 - PyQt4 comes packaged with the Qt runtime library(s)
|
|
||||||
PyQt4 - http://www.riverbankcomputing.co.uk/software/pyqt/download
|
|
||||||
|
|
||||||
-> Ubuntu
|
|
||||||
------
|
|
||||||
Open a terminal window, and enter the following command:
|
|
||||||
"sudo apt-get -y install python-qt4"
|
|
||||||
|
|
||||||
All the required packages should be automatically pulled in and installed.
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
### DEPENDENCIES
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
* Python >= 2.6
|
||||||
|
* PyQt4 >= 4.8.0
|
||||||
|
* Qt >= 4.7.0
|
||||||
|
|
||||||
|
* python-argparse == (Python 2.6)
|
||||||
|
|
||||||
|
### INSTALLING
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
Windows
|
||||||
|
|
||||||
|
> You can download the required programs here.
|
||||||
|
>
|
||||||
|
[Python](http://www.python.org/download/)
|
||||||
|
[PyQt4](http://www.riverbankcomputing.co.uk/software/pyqt/download)
|
||||||
|
Qt4 - PyQt4 comes packaged with the Qt runtime library(s)
|
||||||
|
|
||||||
|
Ubuntu
|
||||||
|
|
||||||
|
> Open a terminal window, and enter the following command:
|
||||||
|
`sudo apt-get install python-qt4`
|
||||||
|
>
|
||||||
|
All the required packages should be automatically pulled in and installed.
|
|
@ -1,56 +0,0 @@
|
||||||
DESCRIPTION
|
|
||||||
----------------
|
|
||||||
PyPhantomJS is a minimalistic, headless, WebKit-based, JavaScript-driven tool, based on the PhantomJS project.
|
|
||||||
|
|
||||||
It has native support for different web technologies: DOM handling, CSS selector, JSON, Canvas, SVG, and of course JavaScript.
|
|
||||||
|
|
||||||
See the quick start guide and more advanced examples which show various PhantomJS scripts, covering:
|
|
||||||
* http://code.google.com/p/phantomjs/wiki/QuickStart
|
|
||||||
* http://code.google.com/p/phantomjs/wiki/ServiceIntegration
|
|
||||||
|
|
||||||
* running regression tests from command line
|
|
||||||
* getting driving direction
|
|
||||||
* showing weather forecast conditions
|
|
||||||
* finding pizza in New York
|
|
||||||
* looking up approximate location based on IP address
|
|
||||||
* pulling the list of seasonal food
|
|
||||||
* producing PDF version of a Wikipedia article
|
|
||||||
* rasterizing SVG to image
|
|
||||||
|
|
||||||
PyPhantomJS is written in PyQt4 and Python. It runs on Linux, Windows, and Mac OS X.
|
|
||||||
Refer to the INSTALL file or Wiki links below for more information.
|
|
||||||
* http://code.google.com/p/phantomjs/w/list
|
|
||||||
* http://dev.umaclan.com/projects/pyphantomjs/wiki
|
|
||||||
|
|
||||||
Do not forget to consult the concise API Reference.
|
|
||||||
* http://dev.umaclan.com/projects/pyphantomjs/wiki/Api_reference
|
|
||||||
* http://code.google.com/p/phantomjs/wiki/Interface
|
|
||||||
|
|
||||||
If you want to contribute, please read the Contribution Guide.
|
|
||||||
* http://code.google.com/p/phantomjs/wiki/ContributionGuide
|
|
||||||
* http://dev.umaclan.com/projects/pyphantomjs/wiki/Giving_back
|
|
||||||
|
|
||||||
You can find a list of downloadable plugins at
|
|
||||||
* http://dev.umaclan.com/projects/pyphantomjs/wiki/Plugins
|
|
||||||
|
|
||||||
LICENSING
|
|
||||||
----------------
|
|
||||||
Copyright (C) 2011 James Roe <roejames12@hotmail.com>
|
|
||||||
|
|
||||||
PyPhantomJS is licensed with the GNU GPL v3.
|
|
||||||
See the included file LICENSE for the licensing terms.
|
|
||||||
|
|
||||||
ADDITIONAL INFO
|
|
||||||
----------------
|
|
||||||
This program is a port of PhantomJS to Python/PyQt4 (thus, PyPhantomJS).
|
|
||||||
1) We try to make PyPhantomJS to be as compatible with PhantomJS as possible,
|
|
||||||
this means having the exact same features as they do. It happens to be fully
|
|
||||||
compatible, with the exception of some very small things.
|
|
||||||
2) PyPhantomJS however, has a few differences as well:
|
|
||||||
* Some of the features work a little differently than PhantomJS.
|
|
||||||
In most of these cases, the features were only changed to improve their
|
|
||||||
reliability and performance, so they work more often/better, and break less.
|
|
||||||
* There may also be additional features present that aren't in PhantomJS.
|
|
||||||
|
|
||||||
PhantomJS was written by Ariya Hidayat, and I'd like to give him a BIG thanks
|
|
||||||
for all his work on PhantomJS! :)
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
PyPhantomJS is a headless WebKit with JavaScript API, based on the [PhantomJS](http://www.phantomjs.org/) project.
|
||||||
|
|
||||||
|
It has **fast** and **native** support for DOM handling, CSS selector, JSON, Canvas, SVG, and of course JavaScript.
|
||||||
|
|
||||||
|
PyPhantomJS scripts can be written in JavaScript or [CoffeeScript](http://jashkenas.github.com/coffee-script/).
|
||||||
|
|
||||||
|
See the [quick start guide](http://code.google.com/p/phantomjs/wiki/QuickStart) and more [advanced examples](http://code.google.com/p/phantomjs/wiki/ServiceIntegration) which show various PhantomJS scripts, covering:
|
||||||
|
|
||||||
|
* running regression tests from command line
|
||||||
|
* getting driving direction
|
||||||
|
* showing weather forecast conditions
|
||||||
|
* finding pizza in New York
|
||||||
|
* looking up approximate location based on IP address
|
||||||
|
* pulling the list of seasonal food
|
||||||
|
* producing PDF version of a Wikipedia article
|
||||||
|
* rasterizing SVG to image
|
||||||
|
|
||||||
|
PyPhantomJS is written in PyQt4 and Python. It runs on Linux, Windows, and Mac OS X.
|
||||||
|
Refer to the INSTALL file or Wiki links<sup>1</sup> for more information.
|
||||||
|
|
||||||
|
Do not forget to consult the concise API Reference<sup>2</sup>
|
||||||
|
|
||||||
|
If you want to contribute, please read the Contribution Guides<sup>3</sup>
|
||||||
|
|
||||||
|
You can find a list of downloadable plugins [here](http://dev.umaclan.com/projects/pyphantomjs/wiki/Plugins).
|
||||||
|
|
||||||
|
1: http://code.google.com/p/phantomjs/w/list
|
||||||
|
1: http://dev.umaclan.com/projects/pyphantomjs/wiki
|
||||||
|
2: http://dev.umaclan.com/projects/pyphantomjs/wiki/Api_reference
|
||||||
|
2: http://code.google.com/p/phantomjs/wiki/Interface
|
||||||
|
3: http://code.google.com/p/phantomjs/wiki/ContributionGuide
|
||||||
|
3: http://dev.umaclan.com/projects/pyphantomjs/wiki/Giving_back
|
||||||
|
|
||||||
|
LICENSING
|
||||||
|
------------------
|
||||||
|
Copyright (C) 2011 James Roe <<roejames12@hotmail.com>>
|
||||||
|
|
||||||
|
PyPhantomJS is licensed with the GNU GPL v3.
|
||||||
|
See the included file LICENSE for the licensing terms.
|
||||||
|
|
||||||
|
ADDITIONAL INFO
|
||||||
|
-----------------------------
|
||||||
|
This program is a port of PhantomJS to Python/PyQt4 (thus, PyPhantomJS).
|
||||||
|
|
||||||
|
1. We try to make PyPhantomJS to be as compatible with PhantomJS as possible,
|
||||||
|
this means having the exact same features as they do. It happens to be fully
|
||||||
|
compatible, with the exception of some very small things.
|
||||||
|
2. PyPhantomJS however, has a few differences as well:
|
||||||
|
* Some of the features work a little differently than PhantomJS.
|
||||||
|
In most of these cases, the features were only changed to improve their
|
||||||
|
reliability and performance, so they work more often/better, and break less.
|
||||||
|
* There may also be additional features present that aren't in PhantomJS.
|
||||||
|
|
||||||
|
PhantomJS was written by Ariya Hidayat, and I'd like to give him a BIG thanks
|
||||||
|
for all his work on PhantomJS! :)
|
Loading…
Reference in New Issue