Metadata-Version: 2.1
Name: ppipa
Version: 1.0.6
Summary: PP's FreeIPA Module
Home-page: https://github.com/peterpakos/ppipa
Author: Peter Pakos
Author-email: peter.pakos@wandisco.com
License: GPLv3
Keywords: ldap freeipa
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP
Requires-Dist: python-ldap
Requires-Dist: unidecode
Requires-Dist: pplogger

ppipa
=====

PP's FreeIPA Module

PyPI package: `ppipa <https://pypi.python.org/pypi/ppipa>`__

If you spot any problems or have any improvement ideas then feel free to
open an issue and I will be glad to look into it for you.

Installation
------------

A recommended way of installing the tool is pip install.

pip install
~~~~~~~~~~~

The tool is available in PyPI and can be installed using pip:

::

   $ pip install --user ppipa

Usage
-----

::

   from ppipa import FreeIPAServer

   ipa = FreeIPAServer(host='ipa01.example.com', bindpw='password')

   users = ipa.find_users_by_email(email='first.last@example.com')
   n = len(users)

   user = ipa.users().get('first.last')
   cn = user.cn
   is_ldap_group_member = user.is_member_of('ldap_group')


