## Usage
**A good tool for checking host, has 24+ servers from different countries to check. Using check-host.net**
### Save as file
```python
#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
```python
#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
```basb
pip install hostcheck
```
### Maybe will be in new versions
- dns checker
Raw data
{
"_id": null,
"home_page": "https://github.com/mishakorzik/hostcheck",
"name": "hostcheck",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "host,ip,tcp,http,ping,python,pypi,check-host,checkhost,check,info,domain,address,tools",
"author": "MishaKorzhik_He1Zen",
"author_email": "developer.mishakorzhik@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/09/03/c4ad93ff98b76fca04c60f625283fdf24dd7b988a4bc6feb8b0e208f9fba/hostcheck-0.0.4.tar.gz",
"platform": null,
"description": "## Usage\n\n**A good tool for checking host, has 24+ servers from different countries to check. Using check-host.net**\n\n\n### Save as file\n```python\n#save ping server data (ex. www.google.com)\n>>> from hostcheck import *\n>>> host.ping(\"www.google.com\")\nsaved as: check-host.json\n>>> \n\n#save http server data (ex. www.google.com)\n>>> from hostcheck import *\n>>> host.http(\"www.google.com\")\nsaved as: check-host.json\n>>> \n\n#save tcp server data (ex. 3.125.102.39:13352)\n>>> from hostcheck import *\n>>> host.tcp(\"3.125.102.39:13352\")\nsaved as: check-host.json\n>>> \n\n#save dns server data (ex. 1.1.1.1)\n>>> from hostcheck import *\n>>> host.dns(\"1.1.1.1\")\nsaved as: check-host.json\n>>>\n\n```\n\n### Preview data\n\n```python\n\n#view ping server data (ex. www.google.com)\n>>> from hostcheck import *\n>>> host.ping(\"www.google.com\", True)\n\n#view http server data (ex. www.google.com)\n>>> from hostcheck import *\n>>> host.http(\"www.google.com\", True)\n\n#view tcp server data (ex. 3.125.102.39:13352)\n>>> from hostcheck import *\n>>> host.tcp(\"3.125.102.39:13352\", True)\n\nhow to view server data\nvideo: https://youtu.be/DlUiGR1HfTU\n\n```\n\n**all results are automatically saved to the check-host file in json format. You can read it using the json module.**\n\n## Installation\n\n```basb\npip install hostcheck\n\n```\n\n### Maybe will be in new versions\n - dns checker \n\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "A tool for checking host for work: http, tcp, ping, dns",
"version": "0.0.4",
"split_keywords": [
"host",
"ip",
"tcp",
"http",
"ping",
"python",
"pypi",
"check-host",
"checkhost",
"check",
"info",
"domain",
"address",
"tools"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0903c4ad93ff98b76fca04c60f625283fdf24dd7b988a4bc6feb8b0e208f9fba",
"md5": "b31f1e5f54e25eae4a0fe5dc392df63d",
"sha256": "1fdfb7347bd74e2a7304e70515b5749e2575dcdce7d80a69dea540d0d844e99f"
},
"downloads": -1,
"filename": "hostcheck-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "b31f1e5f54e25eae4a0fe5dc392df63d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5180,
"upload_time": "2023-02-05T23:05:41",
"upload_time_iso_8601": "2023-02-05T23:05:41.078146Z",
"url": "https://files.pythonhosted.org/packages/09/03/c4ad93ff98b76fca04c60f625283fdf24dd7b988a4bc6feb8b0e208f9fba/hostcheck-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-05 23:05:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "mishakorzik",
"github_project": "hostcheck",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "hostcheck"
}