Skip to main content

Lightweight FreeIPA client

Project description

python-freeipa is lightweight FreeIPA client.

Features

  • Login to FreeIPA server using username and password.

  • Search for users.

  • Display information about a user.

  • Add, modify and delete a user.

  • Get lockout status of a user account.

  • Enable and disable a user account.

  • Search for groups.

  • Display information about a named group.

  • Add, modify and delete a group.

  • Add members to a group.

  • Remove members from a group.

  • Change user password.

Dependencies

The only dependency is Python Requests library (http://docs.python-requests.org/)

See also API documentation: https://ipa.demo1.freeipa.org/ipa/ui/#/p/apibrowser/

Installation

Install python-freeipa in development mode along with dependencies:

pip install -e .[tests]

Run tests suite:

python setup.py test

Example usage

from python_freeipa import Client
client = Client('ipa.demo1.freeipa.org', version='2.215')
client.login('admin', 'Secret123')
user = client.user_add('test3', 'John', 'Doe', 'John Doe', preferred_language='EN')
print user

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

python-freeipa-0.1.3.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file python-freeipa-0.1.3.tar.gz.

File metadata

File hashes

Hashes for python-freeipa-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1ab9513ab6ecf6984a73b17c996ca93678ac061a9223b7e1faeffa9b95133a56
MD5 cfba7a44209978b848c5d0ef0df26002
BLAKE2b-256 dc952355225c59df2ea2e8a4c421612830867d95b6bb895cbb9cfd1b5ee1ef99

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