A Hashicorp Nomad API client written in modern Python.
There is already python-nomad library in PyPI, but I wanted to have async based Nomad API client written in modern Python with type annotation.
nomad_api
requires Python 3.9.
- pip
pip install nomad_api
- pipenv
pipenv install nomad_api
- poetry
poetry add nomad_api
async with nomad.Client("http://localhost:4646") as cli:
for job in await cli.jobs():
print(job)
Nomad 1.0.4