Skip to content

Tiny/basic module for communicating with the FreeIPA API without having to install the entire FreeIPA toolchain

License

Notifications You must be signed in to change notification settings

nordnet/python-freeipa-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-freeipa-json

Tiny/basic module for communicating with the FreeIPA API without having to install their entire toolchain

Info

This module tries to use a minimal set of dependencies to communicate with FreeIPA through it's json rpc instead of using the official FreeIPA toolchain which is quite dependency heavy. Not all ipa functions has been added yet.

Installation

Use the included setup.py to install or manually copy the ipahttp to your python library directory.

Dependencies

  • requests

Example usage

import ipahttp

ipa = ipahttp.ipa('ipa.example.com')
ipa.login('apiuser', 'secret_password')
reply = ipa.host_find()
for host in reply['result']['result']:
    print('Found host %s' % host['fqdn'][0])

License

MIT © Nordnet Bank AB

About

Tiny/basic module for communicating with the FreeIPA API without having to install the entire FreeIPA toolchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages