A cross-platform command-line tool that waits for one or more network services (TCP or UDP) to become available before executing a command. Version 2.3.0, released in 2024, requires Python >=3.9. Stable, low release cadence.
pip install wait-for-itVerified import paths — ran on the pinned version, not inferred.
Wait for a PostgreSQL service on localhost:5432 with a 30-second timeout.
Upgrade Python to >=3.9 or pin pip install wait-for-it==2.2.0
Use async/await or call asyncio.run(wait_for_it(...))
Update import to: from wait_for_it import wait_for_it
Use await: await wait_for_it('tcp://...') or wrap with asyncio.run().Install via pip install wait-for-it and use from wait_for_it import wait_for_it.
Use tcp://host:port or udp://host:port.
No dependency data recorded yet.