$npx skillfedfor your agent

ldaptor

A Pure-Python Twisted library for LDAP

With conditionsPyPI Python ModulesReleased Feb 20211.9M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ldaptor-21.2.0-py2.py3-none-any.whl
v21.2.0 · released 2021-02-28 · Python ~=3.5 · 5 runtime deps: passlib, Twisted, pyparsing, six, zope.interface

Yes, if you are building on Twisted or need async LDAP operations. The library is stable (Production/Stable status), has no known vulnerabilities, and low install friction. The gap between the latest release (2021-02-28) and active repo commits (2026-05-25) suggests development may outpace PyPI releases; verify current Python version support before adopting in new projects. Suitable for established LDAP integration tasks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Twisted reactor event loop; LDAP operations are async/deferred-based, not blocking calls.
  • Low install friction; ships as a wheel.
  • Maintenance is active with recent commits (2026-05-25), though the latest PyPI release is from 2021-02-28.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2021-02-28 (1993 days) · last repo commit 2026-05-25 · 167 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,917,769 downloads/mo, #3,432 on PyPI

Verify before relying

pip install ldaptor

from twisted.internet import reactor, defer
from ldaptor.protocols.ldap import ldapclient, ldapconnector

@defer.inlineCallbacks
def query():
    c = ldapconnector.LDAPClientCreator(reactor, ldapclient.LDAPClient)
    client = yield c.connect(b'dc=example,dc=com')
    yield client.bind(b'user@example.com', b'password')
    # perform search or other operations

reactor.callWhenRunning(query)
reactor.run()
  • Whether the 2021-02-28 release date reflects actual maintenance lag or if PyPI metadata is stale relative to active development.
  • Compatibility with Python versions beyond 3.9 (classifiers list up to 3.9; current support unclear).
Same gist for agents: .md · .json

What it is and what it does

Ldaptor is a pure-Python LDAP client library that runs on top of Twisted, providing asynchronous access to LDAP directory services. It handles the full LDAP protocol stack—client connections, authentication, directory searches, and filter parsing—without requiring compiled C extensions. The library also includes utilities for LDIF format generation, Samba password operations, and command-line tools.

You use it when you need to query or authenticate against LDAP directories from Python, particularly in applications already built on Twisted or where async I/O is desired. It parses LDAP filters from text, generates protocol messages, and manages the connection lifecycle through Twisted's deferred-based concurrency model. Dependencies are all pure-Python (Twisted, pyparsing, passlib, six, zope.interface), so installation is straightforward.

Use it for

  • Authenticate users against an LDAP directory in a Twisted-based web or network service.
  • Query LDAP directory entries (users, groups, organizational units) and export results as LDIF.
  • Implement Samba password changes programmatically from a Python application.
  • Build LDAP client tools or utilities that need to parse and generate LDAP protocol messages.
  • Integrate directory lookups into async Python applications without blocking the event loop.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building on Twisted or need async LDAP operations.

The library is stable (Production/Stable status), has no known vulnerabilities, and low install friction. The gap between the latest release (2021-02-28) and active repo commits (2026-05-25) suggests development may outpace PyPI releases; verify current Python version support before adopting in new projects. Suitable for established LDAP integration tasks.

Install

ldaptor on PyPI

Before you install

Low install friction; ships as a wheel. Maintenance is active with recent commits (2026-05-25), though the latest PyPI release is from 2021-02-28. Depends on Twisted and four other pure-Python libraries, all widely available.

Requires Twisted reactor event loop; LDAP operations are async/deferred-based, not blocking calls.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install ldaptor

from twisted.internet import reactor, defer
from ldaptor.protocols.ldap import ldapclient, ldapconnector

@defer.inlineCallbacks
def query():
    c = ldapconnector.LDAPClientCreator(reactor, ldapclient.LDAPClient)
    client = yield c.connect(b'dc=example,dc=com')
    yield client.bind(b'user@example.com', b'password')
    # perform search or other operations

reactor.callWhenRunning(query)
reactor.run()

Verify before relying

  • Whether the 2021-02-28 release date reflects actual maintenance lag or if PyPI metadata is stale relative to active development.
  • Compatibility with Python versions beyond 3.9 (classifiers list up to 3.9; current support unclear).

Package facts

LicenseMIT permissive
Python supportSupports the current Python release ~=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
passlibTwistedpyparsingsixzope.interface
MaintenanceActively maintained 1,993 days since the last release
Last repo commit
First released
Downloads1,917,769 / month, #3,432 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: TwistedIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Systems Administration :: Authentication/Directory :: LDAP

Evidence: ldaptor-21.2.0-py2.py3-none-any.whl

Tags

Capabilities
LDAP client library Pythondirectory authentication queriesLDAP protocol implementationpure Python LDAPTwisted LDAPLDIF generationSamba password changing
Topics
ldap-clienttwisted-asyncdirectory-auth

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 › “LDAP protocol implementation”

  • ldaptorLdaptor is a pure-Python LDAP client library built on Twisted that…
  • impacketImpacket provides low-level Python classes for constructing and…
  • msldapmsldap is a Python library for querying and interacting with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also python-ldap · django-auth-ldap · msldap · python-active-directory · ldap3 · python3-ldap · ldapdomaindump · treq · Twisted · txtorcon