Skip to main content

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

Project description

Usage

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

Save as file

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

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

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

#save dns server data (ex. 1.1.1.1)
>>> from hostcheck import *
>>> host.dns("1.1.1.1")
saved as: check-host.json
>>>

Preview data

#view ping server data (ex. www.google.com)
>>> from hostcheck import *
>>> host.ping("www.google.com", True)

#view http server data (ex. www.google.com)
>>> from hostcheck import *
>>> host.http("www.google.com", True)

#view tcp server data (ex. 3.125.102.39:13352)
>>> from hostcheck import *
>>> host.tcp("3.125.102.39:13352", True)

how to view server data
video: https://youtu.be/DlUiGR1HfTU

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

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.4.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file hostcheck-0.0.4.tar.gz.

File metadata

  • Download URL: hostcheck-0.0.4.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for hostcheck-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1fdfb7347bd74e2a7304e70515b5749e2575dcdce7d80a69dea540d0d844e99f
MD5 b31f1e5f54e25eae4a0fe5dc392df63d
BLAKE2b-256 0903c4ad93ff98b76fca04c60f625283fdf24dd7b988a4bc6feb8b0e208f9fba

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