Commit 68009c03 authored by jens.kleineheismann's avatar jens.kleineheismann

Proper formating of README.

parent a67effc1
......@@ -5,34 +5,40 @@ This package provide a python binding to the KIT Gruppenverwaltung REST API.
INSTALLATION
============
$ pip install -e .
``$ python setup.py develop``
or
$ python setup.py develop
``$ pip install -e .``
or any other method, you use to install your python packages.
USAGE
=====
from kitgvapi import basicConfig, Oe, Group, User
::
basicConfig('myusername', 'mypassword')
from kitgvapi import basicConfig, Oe, Group, User
iism = Oe('IISM')
for g in iism.get_groups():
print g.name
basicConfig('myusername', 'mypassword')
staff = Group('IISM-EM-OU-Staff')
for u in staff.get_users(effective=True):
print "%s %s (%s)" % (u.firstname, u.lastname, u.samaccount)
for g in staff.get_groups():
print g.name
iism = Oe('IISM')
for g in iism.get_groups():
print g.name
me = User('zy8373')
others = me.oe.get_users()
staff = Group('IISM-EM-OU-Staff')
for u in staff.get_users(effective=True):
print "%s %s (%s)" % (u.firstname, u.lastname, u.samaccount)
for g in staff.get_groups():
print g.name
me = User('zy8373')
others = me.oe.get_users()
LICENCE
=======
Author: Jens Kleineheismann <kleineheismann@kit.edu>
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment