gandalf-client - a client for gandalf

gandalf-client is a Python client for gandalf (https://github.com/tsuru/gandalf).

Github: https://github.com/rfloriano/gandalf-client

https://travis-ci.org/rfloriano/gandalf-client.svg?branch=master https://coveralls.io/repos/rfloriano/gandalf-client/badge.png

Getting Started

Installing gandalf-client is as simple as:

$ pip install gandalf-client

After you have it installed, let’s use the gandalf, then:

import requests
from gandalf.client import GandalfClient

gandalf = GandalfClient("localhost", 8001, requests.request)
gandalf.user_new('rfloriano', {'my-ssh-key': 'content-of-my-ssh-public-key'})

Indices and tables