Skip to main content

A kitchen for (beautiful) soup

Project description

.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
This text does not appear on pypi or github. It is a comment.

================
visaplan.kitchen
================

This package tackles "soup", i.e. trees which are created by the well-known
beautifulsoup4 package from parsed HTML or XML sources.
It might be possible to accomplish the same by using lxml directly,
but it might have been more difficult, and thus it is left to another
product.

Features
--------

- ``spoons`` module, for tackling "soup", e.g.

- ``has_any_class`` (a filter function to check for one of the given classes)

- ``forks`` module
(named mainly for historical reasons; for poking around in the soup), e.g.
``extract_linktext``, ``convert_dimension_styles``

- ``ids`` module, for creation of new ids for HTML elements

- ``id_factory``::

new_id = id_factory(...)
id = new_id(prefix)


Examples
--------

This add-on can be seen in action at the following sites:

- https://www.unitracc.de
- https://www.unitracc.com


Documentation
-------------

For now, the functions are documented by doctests.


Installation
------------

Install visaplan.kitchen by adding it to your buildout::

[buildout]

...

eggs =
visaplan.kitchen


and then running ``bin/buildout``


Contribute
----------

- Issue Tracker: https://github.com/visaplan/visaplan.kitchen/issues
- Source Code: https://github.com/visaplan/visaplan.kitchen


Support
-------

If you are having issues, please let us know;
please use the issue tracker mentioned above.


License
-------

The project is licensed under the GPLv2.

.. vim: tw=79 cc=+1 sw=4 sts=4 si et


Contributors
============

- Tobias Herp, tobias.herp@visaplan.com


Changelog
=========


1.0.dev2 (2018-09-17)
---------------------

- License changed to GPL v2
[tobiasherp]


1.0.dev1 (2018-07-09)
---------------------

- Initial release.
[tobiasherp]

Project details


Download files

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

Source Distribution

visaplan.kitchen-1.0.dev2.tar.gz (35.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page