Skip to main content

Checks static .html files for bad links

Project description

Checks static html files for bad or empty links. See [here](http://www.ericcarmichael.com/writing-my-first-python-package.html) why I wrote this, I hate missing details!

# Example bad or empty links

`html <a href=""></a> Empty <a href></a> Empty <a href="python.org"></a> Any bad link will fail, this one is missing http:// `

# Usage

Command line

> python existence.py /path/to/dir

Python

`python from existence import check_directory check_directory("/path/to/dir") `

Existence will recursively check each subdir as well!

# Running tests

> python -m unittest discover

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

existence-0.1.2.zip (5.2 kB view details)

Uploaded Source

File details

Details for the file existence-0.1.2.zip.

File metadata

  • Download URL: existence-0.1.2.zip
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for existence-0.1.2.zip
Algorithm Hash digest
SHA256 0caf937ebb0332e964214449d81f2921f7261d594c2848e1a8c705bfb34c38df
MD5 c483c69d0aa8fb86f970c104932c81e0
BLAKE2b-256 96b41ddb076007c2d79edf25cf9ac6cb9ce8365bdfa0c9c9cdbbf0a0bc47babb

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