Skip to content

About

Check whether a TCP port is reachable

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

port-check

A small utility that checks TCP reachability with configurable timeouts.

Why

I kept rewriting the same thirty lines in every project, so I pulled them out.

Install

pip install port-check

Usage

from port_check import portCheck

result = portCheck("example")
print(result)

Notes

  • No runtime dependencies outside the standard library.
  • Tested on Python 3.9 and newer.

License

MIT

About

Check whether a TCP port is reachable

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages