Skip to main content

CLI tool for waiting on ports to open

Project description

portwait

CLI Tool for waiting on ports to open.

Usage

usage: portwait [-h] [-t TIMEOUT] [-v] host port

positional arguments:
  host                  Host to connect to
  port                  ... its the port ok?

optional arguments:
  -h, --help            show this help message and exit
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout in seconds
  -v, --verbose         Describe result

Example

Wait for ssh to open up (presumably after a reboot or something):

portwait 10.40.1.100 22

Do a single check and don't wait

portwait 10.40.1.100 22 --timeout 0

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

portwait-1.0.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file portwait-1.0.2.tar.gz.

File metadata

  • Download URL: portwait-1.0.2.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.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3

File hashes

Hashes for portwait-1.0.2.tar.gz
Algorithm Hash digest
SHA256 887544c7c8fa44ca18e8e5531617e1d61cad5515b9b95a579d74029123e64e3c
MD5 579b2e0b054ccf8c23acb3f725ff944c
BLAKE2b-256 edd4eb788dbfa33681c6d08b8a31b09ad4c43ed20b5d777109ef0c80401aa3a5

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