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.tar.gz (35.8 kB view details)

Uploaded Source

File details

Details for the file visaplan.kitchen-1.0.tar.gz.

File metadata

  • Download URL: visaplan.kitchen-1.0.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for visaplan.kitchen-1.0.tar.gz
Algorithm Hash digest
SHA256 63b6ef0f8461ac716c383854e49dd72b8ff40dd328d5adc5d0e485f91bcb49a8
MD5 55a5d0e89d638f55fe91b90230c6e0d2
BLAKE2b-256 bdee0337eb8b5d31157c974a86e3c878f5b4ff7a6f59f237817e8b484f86fc3a

See more details on using hashes here.

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