python-active-directory
An Active Directory client library for Python
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is stable and permissively licensed under MIT, but abandoned maintenance since 2022-11-11 is a significant concern for long-term reliability. Install only if you have an existing codebase already using it, need Active Directory integration on Linux without alternatives, and can accept the risk of no upstream fixes. For new projects, evaluate actively maintained alternatives first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires system LDAP libraries and an accessible Active Directory server; python-ldap dependency may need compilation on some systems.
- Medium install friction due to compiled wheels for multiple Python versions and architectures.
- Package is in abandoned maintenance status with no releases since 2022-11-11; last commit was 2022-11-11.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions, requiring only license attribution.
last release 2022-11-11 (1372 days) · last repo commit 2022-11-11 · 20 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 163,046 downloads/mo, #10,579 on PyPI
Alternatives
Verify before relying
pip install python-active-directory
import python_active_directory
# Query Active Directory through python-ldap, dnspython, and ply dependencies- Whether the package works reliably with Python versions beyond 3.8 despite wheel availability for 3.10 and 3.11
- Current compatibility with modern Active Directory implementations and LDAP protocol versions
- Whether abandoned status affects real-world usability or if the library is stable enough for production without active maintenance
- Specific API surface and usage patterns beyond the general LDAP query capability
What it is and what it does
python-active-directory is a client library for querying and managing objects in Active Directory from Python applications running on UNIX/Linux systems. It wraps LDAP protocol operations through python-ldap, dnspython, and ply to provide a higher-level interface for directory operations.
The library targets developers building directory-aware applications on Linux servers that need to integrate with Active Directory infrastructure. It requires system LDAP libraries and network access to a reachable directory server. The package is classified as Production/Stable but has been in abandoned maintenance since 2022-11-11.
Use it for
- Query user and group information from Active Directory in Python applications on Linux
- Authenticate users against an Active Directory domain from a UNIX/Linux application
- Manage directory objects programmatically via LDAP protocol operations
- Integrate on-premises Active Directory with Python-based infrastructure tools
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is stable and permissively licensed under MIT, but abandoned maintenance since 2022-11-11 is a significant concern for long-term reliability. Install only if you have an existing codebase already using it, need Active Directory integration on Linux without alternatives, and can accept the risk of no upstream fixes. For new projects, evaluate actively maintained alternatives first.
Install
python-active-directory on PyPI
Before you install
Medium install friction due to compiled wheels for multiple Python versions and architectures. Package is in abandoned maintenance status with no releases since 2022-11-11; last commit was 2022-11-11. Depends on python-ldap, which typically requires system LDAP libraries.
Requires system LDAP libraries and an accessible Active Directory server; python-ldap dependency may need compilation on some systems.
License in practice
MIT license (permissive) allows commercial and private use with minimal restrictions, requiring only license attribution.
Quickstart
pip install python-active-directory
import python_active_directory
# Query Active Directory through python-ldap, dnspython, and ply dependencies
Verify before relying
- Whether the package works reliably with Python versions beyond 3.8 despite wheel availability for 3.10 and 3.11
- Current compatibility with modern Active Directory implementations and LDAP protocol versions
- Whether abandoned status affects real-world usability or if the library is stable enough for production without active maintenance
- Specific API surface and usage patterns beyond the general LDAP query capability
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 3 packagespython-ldapdnspythonply |
| Maintenance | Abandoned 1,372 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 163,046 / month, #10,579 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: python_active_directory-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; python_active_directory-2.0.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl; python_active_directory-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; python_active_directory-2.0.1-cp310-cp310-musllinux_1_1_aarch64.whl; python_active_directory-2.0.1-cp310-cp310-musllinux_1_1_i686.whl; python_active_directory-2.0.1-cp310-cp310-musllinux_1_1_x86_64.whl; python_active_directory-2.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; python_active_directory-2.0.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl; python_active_directory-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; python_active_directory-2.0.1-cp311-cp311-musllinux_1_1_aarch64.whl; python_active_directory-2.0.1-cp311-cp311-musllinux_1_1_i686.whl; python_active_directory-2.0.1-cp311-cp311-musllinux_1_1_x86_64.whl; python_active_directory-2.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; python_active_directory-2.0.1-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl; python_active_directory-2.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; python_active_directory-2.0.1-cp36-cp36m-musllinux_1_1_aarch64.whl; python_active_directory-2.0.1-cp36-cp36m-musllinux_1_1_i686.whl; python_active_directory-2.0.1-cp36-cp36m-musllinux_1_1_x86_64.whl; python_active_directory-2.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; python_active_directory-2.0.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “active directory python client”
- python-active-directoryAn Active Directory client library for Python on UNIX/Linux systems…
- ldap3ldap3 is a pure Python LDAP V3 client library that implements RFC…
- python3-ldapThis package is a redirect to ldap3—a pure Python LDAP V3 client…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also msldap · ldaptor · ldap3 · ldapdomaindump · python-ldap · django-auth-ldap · python3-ldap · google-ads-admanager · AuthEncoding · dsinternals