pyquery

Software Screenshot:
pyquery
Software Details:
Version: 1.2.9
Upload Date: 13 Apr 15
Developer: Olivier Lauzanne
Distribution Type: Freeware
Downloads: 83

Rating: 5.0/5 (Total Votes: 1)

The pyquery API and syntax tries to stick as much as possible to the original jQuery implementation, nevertheless some differences are present.

For actually interacting with the HTML and XML documents themselves, the lxml library is used.

pyquery only deals with translating the commands to actual Python code.

The purpose behind this library is to allow the majority of developers to use the infamous easy to learn and easy to use jQuery query model and syntax to interact with XML and HTML documents inside Python applications.

The library basically takes full advantage of jQuery's syntax and spread amongst the developer community to provide a robust XML and HTML query language for Python.

The project is very well documented, providing all the help needed to use it.

What is new in this release:

  • Support for keyword arguments in PyQuery custom functions
  • Fixed:
  • Items must take care or the parent
  • PyQuery.make_links_absolute() no longer creates 'href' attribute when it isn't there
  • is_() was broken.
  • .replaceWith(PyQuery element) raises error

What is new in version 1.2.3:

  • Allow to pass this in .filter() callback.
  • Added .contents() .items().
  • Added tox.ini.

What is new in version 1.2.2:

  • Fix cssselectpatch to match the newer implementation of cssselect.

What is new in version 1.2.1:

  • Allow to use a custom CSS translator.

What is new in version 1.2:

  • Fixed forward .html() extra arguments to lxml.etree.tostring.

What is new in version 1.1.1:

  • Minor release. Included test file.

What is new in version 1.1:

  • Py3 improvements.
  • webob 1.2+ support.

Limitations:

  • This is not (or at least not yet) a library to produce or interact with JavaScript code.

Similar Software

Gambit
Gambit

9 Feb 16

PureScript
PureScript

10 Feb 16

stream.js
stream.js

9 Feb 16

Erlang
Erlang

1 May 16

Comments to pyquery

Comments not found
Add Comment
Turn on images!