Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
jens.kleineheismann
python-kitgvapi
Commits
68009c03
Commit
68009c03
authored
Jul 29, 2015
by
jens.kleineheismann
Browse files
Proper formating of README.
parent
a67effc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
68009c03
...
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment