Registry / http-networking / python-freeipa

python-freeipa

JSON →
library1.0.10pypypi✓ verified 82d ago

A lightweight FreeIPA client library for Python. Provides Pythonic access to FreeIPA JSON-RPC API. Current version is 1.0.10, requires Python >=3.10. Release cadence is low (last release in 2023).

pip install python-freeipa
INSTALL
IMPORT
SIG · PYTHON-FREEIPA
P
python-freeipa
http-networkingpythonv1.0.10
Install
2.1s avg
Import
Disk
20MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.10 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 2.3s
py 3.11
✓ —
✓ 2.2s
py 3.12
✓ —
✓ 2s
py 3.13
✓ —
✓ 2s
py 3.9
✕ build_error
✕ build_error
20MB installed
● package 20MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from python_freeipa import Client
from freeipa.client import FreeIPA
ClientLegacy
from python_freeipa import ClientLegacy
AuthenticatedSession
from python_freeipa import AuthenticatedSession

Initialize a FreeIPA client and perform a user search. Replace host, username, password with actual credentials.

from freeipa.client import FreeIPA client = FreeIPA( host='ipa.example.com', username='admin', password='secret' ) print(client.user_find('admin'))
Debug
Known issues
breakingIn version 1.0.0+, the import path changed from `freeipa` to `freeipa.client`. Old code using `from freeipa import FreeIPA` will break.
fix
Use `from freeipa.client import FreeIPA`
affects: >=1.0.0
gotchaThe `user_find` and similar methods return a list of dicts, not a single object. Common mistake: treating the result as a single user.
fix
Access the first element: `users = client.user_find('admin'); user = users[0] if users else None`
affects: all
deprecatedThe `password` parameter in the constructor is deprecated since version 1.0.8. Use `password` as a keyword argument to the individual method calls instead.
fix
Pass password when calling methods: `client.user_find('admin', password='secret')`
affects: >=1.0.8
Upgrade
Version history
1.0.10latest on PyPI · released Sep 26, 2025
Audit
Dependencies
requestsrequiredHTTP client for FreeIPA server communication
python-dateutilrequiredDate parsing for FreeIPA timestamps
Agent activity
27 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
python-freeipa — pip install python-freeipa · libregistry