Skip to main content

A tool for checking host for work: http, tcp, ping

Project description

Usage

A good tool for checking host, has 24+ servers from different countries to check. Using check-host.net

#ping server www.google.com
>>> from hostcheck import *
>>> host.ping("www.google.com")
saved as: check-host.json
>>> 

#check http server www.google.com
>>> from hostcheck import *
>>> host.http("www.google.com")
saved as: check-host.json
>>> 

#check tcp server 3.125.102.39:13352
>>> from hostcheck import *
>>> host.tcp("3.125.102.39:13352")
saved as: check-host.json
>>> 

all results are automatically saved to the check-host file in json format. You can read it using the json module.

Installation

pip install hostcheck

Maybe will be in new versions

  • dns checker
  • udp checker

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

hostcheck-0.0.2.tar.gz (3.3 kB view hashes)

Uploaded Source

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