cligon-1.0.2
توضیحات
A small program to check the status of URLs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cligon-1.0.2 |
| نام | cligon |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Roger Yu |
| ایمیل نویسنده | rogeryu27@gmail.com |
| آدرس صفحه اصلی | https://github.com/rogercyyu/cligon-url-checker |
| آدرس اینترنتی | https://pypi.org/project/cligon/ |
| مجوز | - |
# 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](https://docs.python.org/3/tutorial/venv.html) or [CONTRIBUTING.md](https://github.com/rogercyyu/cligon-url-checker/blob/master/CONTRIBUTING.md) on how to set up a virtual env.
Once in your environment, please run:
```bash
pip install cligon
```
to install the program in your env. Once installed you can...
test URLs of a file:
```bash
cligon [file name with URL links]
```
get a list of usage options:
```bash
cligon
```
see the help page:
```bash
cligon -h
```
## Contributing
Please check out my repo found [here](https://github.com/rogercyyu/cligon-url-checker) and look at [CONTRIBUTING.md](https://github.com/rogercyyu/cligon-url-checker/blob/master/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
نیازمندی
| مقدار | نام |
|---|---|
| ==1.4.4 | appdirs |
| ==20.3.0 | attrs |
| ==20.8b1 | black |
| ==2020.6.20 | certifi |
| ==3.2.0 | cfgv |
| ==3.0.4 | chardet |
| ==7.1.2 | click |
| ==5.3 | coverage |
| ==0.3.1 | distlib |
| ==3.0.12 | filelock |
| ==3.8.4 | flake8 |
| ==1.5.9 | identify |
| ==2.10 | idna |
| ==1.1.1 | iniconfig |
| ==0.6.1 | mccabe |
| ==0.4.3 | mypy-extensions |
| ==1.5.0 | nodeenv |
| ==20.4 | packaging |
| ==0.8.0 | pathspec |
| ==0.13.1 | pluggy |
| ==2.8.2 | pre-commit |
| ==1.9.0 | py |
| ==2.6.0 | pycodestyle |
| ==2.2.0 | pyflakes |
| ==2.4.7 | pyparsing |
| ==6.1.2 | pytest |
| ==5.3.1 | PyYAML |
| ==2020.10.28 | regex |
| ==2.24.0 | requests |
| ==0.12.1 | responses |
| ==1.15.0 | six |
| ==0.10.2 | toml |
| ==1.4.1 | typed-ast |
| ==3.7.4.3 | typing-extensions |
| ==1.25.11 | urllib3 |
| ==20.1.0 | virtualenv |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl cligon-1.0.2:
pip install cligon-1.0.2.whl
نصب پکیج tar.gz cligon-1.0.2:
pip install cligon-1.0.2.tar.gz