Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fenhl/isup
A python script that uses isup.me to check if a website is up or down, based on https://gist.github.com/andrix/1423960#file-isup-py
https://github.com/fenhl/isup
http python python-script python3
Last synced: about 2 months ago
JSON representation
A python script that uses isup.me to check if a website is up or down, based on https://gist.github.com/andrix/1423960#file-isup-py
- Host: GitHub
- URL: https://github.com/fenhl/isup
- Owner: fenhl
- License: mit
- Created: 2013-04-02T15:24:07.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-20T04:33:47.000Z (almost 11 years ago)
- Last Synced: 2023-04-09T12:22:16.716Z (almost 2 years ago)
- Topics: http, python, python-script, python3
- Language: Python
- Size: 137 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**isup** is a Python 3 script that uses [isup.me][isupme] to check if a website is up or down, based on [this Python 2 script][gistisup].
This is `isup` version 1.1.2 ([semver][]). The versioned API includes the usage pattern, as found in the docstring of [`isup.py`](isup.py), as well as the meanings of the statuses, described in the *Statuses* section below.
Requirements
============* [docopt][]
* [fancyio][]Changes
=======The following things have been changed:
* The script has been updated to Python 3.
* Multiple websites are now checked concurrently.
* The script now prints the status in a fancy output box before the domain name. The meanings of the statuses are described below.Statuses
========* `[....]` The website is still being checked.
* `[ UP ]` The website is up, according to [isup.me][isupme].
* `[DOWN]` The website is down for everyone, according to [isup.me][isupme]. Note that if the structure of the [isup.me][isupme] website changes in the future, this may be erroneously displayed instead of `[ UP ]`.
* `[ ?! ]` An error occured while checking the website, for example [isup.me][isupme] could not be reached.[docopt]: http://docopt.org/ (docopt)
[fancyio]: https://github.com/fenhl/fancyio
[gistisup]: https://gist.github.com/andrix/1423960#file-isup-py (gist:andrix/isup.py)
[isupme]: http://isup.me/ (isup.me)
[semver]: http://semver.org/ (Semantic Versioning 2.0.0)