Skip to main content

PP's FreeIPA Module

Project description

PP’s FreeIPA Module

PyPI package: 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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ppipa-1.0.6.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

ppipa-1.0.6-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ppipa-1.0.6.tar.gz.

File metadata

  • Download URL: ppipa-1.0.6.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for ppipa-1.0.6.tar.gz
Algorithm Hash digest
SHA256 1528901bd83e7261950a5500bb1263ae2eaa9d731f693bc877f20d7d7917d92d
MD5 7d3d169fe827f2608eed4d5074e9aa96
BLAKE2b-256 f7371b4a5bb6295bf2282ea50468d9ca05a20b2786c4a5381ccbdecba9f5922c

See more details on using hashes here.

File details

Details for the file ppipa-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: ppipa-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for ppipa-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4407a018f46189a641ed9d410e1f53158ced54795624c84a7c6df0d589c8b5dd
MD5 21b43a702fd46d83333cae492b89903a
BLAKE2b-256 cef40a2bc67c8f7cf138cdd58ccfaa7cc47d351a4f1b83e8251fe786db3e4dc6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page