Skip to main content

A small program to check the status of URLs

Project description

C.L.I.G.O.N

Introduction

C.L.I.G.O.N or Cligon is an acronym that stands for Check if Link Is Good Or Not. It is designed to check all website links inside a file. This program was written in Python 3.8.2. It will return a list of good, bad, or unknown URL statuses.

  • good urls are status code 200.
  • bad urls are status codes 400 or 404.
  • unknowns are status codes that aren't bad or good.

Usage

To use please create a virtual environment. Please see here or CONTRIBUTING.md on how to set up a virtual env.

Once in your environment, please run:

pip install cligon

to install the program in your env. Once installed you can...

test URLs of a file:

cligon [file name with URL links]

get a list of usage options:

cligon

see the help page:

cligon -h

Contributing

Please check out my repo found here and look at CONTRIBUTING.md.

Features

  • Colorized output: good = green, red = back, grey/white = unknown
  • Version number argument
  • Parallelism / Multi-threading (It's fast-ish)
  • Grabs HEAD only
  • URL timeout (default 2.5 milliseconds)
  • Output JSON format
  • Output only good or bad urls

License

MIT

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

cligon-1.0.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cligon-1.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file cligon-1.0.2.tar.gz.

File metadata

  • Download URL: cligon-1.0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for cligon-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9a1dc0ae9f9df27ac81307c62715b35b301393e6c6a14ec23ef1afc1ae39f668
MD5 f775a039884dfb6cad9cdc9ec6cba348
BLAKE2b-256 019f1e78144154eb0f5e4423d8dc4df7fc089f94133124a4234a3c7af4e321d7

See more details on using hashes here.

File details

Details for the file cligon-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cligon-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for cligon-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b818bac352829b9788df4c4fbab1b91755d51b051297c1a227aa4bbe6a03bbb4
MD5 3cf83da243eb4c70f3909d4f5e930128
BLAKE2b-256 5fdb5cc1b616493df7d467b41820ef3b3fcfec33f4421109f7484d435b02a866

See more details on using hashes here.

Supported by

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