Skip to main content

Find host in local subnet listening to specified port

Project description

PyPI version

Host finder

Find host in local subnet listening on specified port

Installation

Make sure you are using python3.10+

pip install hostfinder

Usage

  1. Command line
hostfinder --port 8080
  1. In Python module
import hostfinder

# find first host listening to a port
host = hostfinder.find_host(port=8080)

# find all hosts listening to a port
hosts = hostfinder.find_hosts(port=8080)

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

hostfinder-0.0.4.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

hostfinder-0.0.4-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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