Simplified way to get networking port status
Project description
netutil
Python module to check the status of ports for local and websites.
Install
pip install netutil
Usage
import netutil
google = netutils.PortCheck("google.com", 443)
print(google.isOpen())
For extra help I've added in variables to find the hostname and local IP address.
- To get hostname: netutils.host_name
- To get Local IP: netutils.host_ip
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netutil-0.0.7.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file netutil-0.0.7.tar.gz
.
File metadata
- Download URL: netutil-0.0.7.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ad9c641757358fe9a459c056fd504deee3b7cce4d037717ed3d0de581bce9fe |
|
MD5 | d4a34867513581ede1fa1188fd5f6865 |
|
BLAKE2b-256 | 2d18b069a57a1a9cab18da9ff8db47f1709155cbbf27cc65f5301a27e85e243b |
File details
Details for the file netutil-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: netutil-0.0.7-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a428ec2dff486906a47c3963f582f7a40afe57d0ac6bba8b2470dd8200a1b9d |
|
MD5 | 3027b09ab8f3fc648a130683c9fd31d6 |
|
BLAKE2b-256 | 15d72db992f82c1f4f7a29d7d20dad550f46acc60de1d4464516d1ce77364402 |