A strictly RFC 4510 conforming LDAP V3 pure Python client library
81
Builds an offline-friendly profile of an LDAP server by configuring a server descriptor, preloading schema and directory info, and returning a normalized summary. Metadata can come from a dependency-provided offline directory profile or from a local JSON definition file.
@generates
from typing import TypedDict, List, Optional, Union
from pathlib import Path
class ServerProfile(TypedDict):
host: str
port: int
secure: bool
vendor: str
naming_contexts: List[str]
object_classes: List[str]
def load_server_profile(
host: str,
port: int,
secure: bool = False,
offline_profile: Optional[str] = None,
definition_path: Optional[Union[str, Path]] = None,
) -> ServerProfile:
...Lightweight LDAP client used to configure server descriptors and preload schema/DSA information.
Install with Tessl CLI
npx tessl i tessl/pypi-ldap3evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10