Skip to main content

Palu

A small spider, useful for checking a site for 404s and 500s. It’s a forked of [Patu][1].Palu requires httplib2 and lxml:

pip install -U httplib2 lxml

Is it safe? [![Build Status](https://secure.travis-ci.org/akrito/palu.png?branch=master)](http://travis-ci.org/akrito/palu)

Quick Usage

To see available options:

palu.py –help

To spider an entire site using 5 workers, only showing errors:

palu.py –spiders=5 www.example.com

To spider, stopping after the first level of links:

palu.py –depth=1 www.example.com

To get a list of every linked page on a site:

palu.py –generate www.example.com > urls.txt

Instead of spidering for URLs, use a file instead and show all responses:

palu.py –input=urls.txt –verbose www.example.com

Format of URLs File

The output produced by <code>–generate</code> is formatted like so:

FIRST_URL<TAB>None LINK1<TAB>REFERER LINK2<TAB>REFERER

<code>–input</code> can take a file of that format, or one URL per line with no referer. <code>–input=-</code> reads from stdin.

Testing

Palu uses Nose for testing. To install Nose and test:

pip install -U nose nosetests

[1]:https://pypi.python.org/pypi/patu

Metadata

Release files for palu 0.1

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

Source distribution (sdist)

Source distribution for palu 0.1
File Size Uploaded Provenance Actions
palu-0.1.tar.gz 9.4 kB Without provenance Details for palu-0.1.tar.gz

Release files / palu-0.1.tar.gz

Download URL palu-0.1.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1173921168bf427495e2d431ec50522bf80240d42c6872c3213d08abb7defa74
BLAKE2b-256 checksum
How to use checksums
42e0dee0cd6f7486c0adef86a8db0558b6aa70943b06e6487d46376a62737bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for palu 0.1

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.1 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