Skip to main content
Slurp the beautiful soup
===============

BeautifulSoup4 packaged into a command line tool.


Installation
---------

From the Python package index (Pypi_):

(sudo) pip install beautifulsoup4-slurp

or from Github_:

git clone https://github.com/peterhil/slurp.git
cd slurp
(sudo) python setyp.py install


Usage
-----

Show help:

slurp -h

Parse with html5lib and pretty print into stdout:

slurp -i bookmarks.html -p 'html5lib' -y

Parse with lxml and pretty print into stdout:

slurp -i bookmarks.html -p 'lxml' -y

Write pretty-printed to output to file:

slurp -y -i bookmarks.html -o bookmarks_soup.html

Pipe into slurp:

echo '<title>Slurp!</title><p><a href="https://github.com/peterhil/slurp/">Github</a>' | slurp -y


.. _Github: https://github.com/peterhil/slurp/
.. _Pypi: http://pypi.python.org/pypi/beautifulsoup4-slurp


License
------

Copyright (c) 2015, Peter Hillerström <peter.hillerstrom@gmail.com>
All rights reserved. This software is licensed under MIT license.

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.

Metadata

Release files for beautifulsoup4-slurp 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beautifulsoup4-slurp 0.0.2
File Size Uploaded Provenance Actions
beautifulsoup4-slurp-0.0.2.tar.gz 3.0 kB Without provenance Details for beautifulsoup4-slurp-0.0.2.tar.gz

Release files / beautifulsoup4-slurp-0.0.2.tar.gz

Download URL beautifulsoup4-slurp-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
354d08cf1026a3f71ce52860d2f6aedceed3494b0533313510dc815ba6766006
BLAKE2b-256 checksum
How to use checksums
1697e9249e347cd2c6da18909f973370e31a9b457c702390208776b12e1c31ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for beautifulsoup4-slurp 0.0.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page