dsinternals
Directory Services Internals Library
Decision gist · record as of 2026-08-14
Yes, if you need programmatic access to Windows Active Directory internals for security research, penetration testing, or AD administration. The low install friction, permissive MIT license, and recent maintenance activity support adoption. However, the aging maintenance status (194 days since last release) and narrow use case (Windows AD-specific) mean it's not a general-purpose tool—install only if your workflow specifically requires AD internals access.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Windows Active Directory environment or access to AD data sources; designed for Windows domain contexts.
- Low friction install with two well-established cryptographic dependencies (pyopenssl, pycryptodomex).
- Last release was recent (2026-02-01), though the project shows aging maintenance signals with 194 days since last update.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-02-01 (194 days) · last repo commit 2026-02-01 · 77 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,231 downloads/mo, #14,643 on PyPI
Alternatives
Verify before relying
pip install dsinternals
from dsinternals import *
# Use AD internals classes and functions to interact with directory services- Specific AD operations supported (credential extraction, NTDS parsing, replication, etc.) not detailed in excerpt
- Whether package works with modern AD versions or has known compatibility constraints
- Scope of 'internals' access—what privilege levels or data sources are required
What it is and what it does
dsinternals is a Python library for interacting with Windows Active Directory at the internals level. It provides native classes and functions to read and manipulate directory service data, drawing inspiration from the DS Internals PowerShell module. The library depends on pyopenssl and pycryptodomex for cryptographic operations needed to work with AD authentication and data structures.
The package is aimed at developers and administrators who need programmatic access to AD internals—such as reading credential material, parsing NTDS databases, or performing directory service operations that go beyond standard LDAP queries. It runs on Python 3.4 and later across OS-independent platforms, though its primary use case is Windows domain environments.
Use it for
- Extract and analyze password hashes from Active Directory NTDS databases for security auditing
- Automate credential extraction and validation in penetration testing workflows
- Parse and inspect AD replication data and directory service structures programmatically
- Build custom AD management tools that require low-level access to directory internals
- Forensic analysis of compromised AD environments and credential theft investigation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need programmatic access to Windows Active Directory internals for security research, penetration testing, or AD administration.
The low install friction, permissive MIT license, and recent maintenance activity support adoption. However, the aging maintenance status (194 days since last release) and narrow use case (Windows AD-specific) mean it's not a general-purpose tool—install only if your workflow specifically requires AD internals access.
Install
dsinternals on PyPI
Before you install
Low friction install with two well-established cryptographic dependencies (pyopenssl, pycryptodomex). Last release was recent (2026-02-01), though the project shows aging maintenance signals with 194 days since last update.
Requires Windows Active Directory environment or access to AD data sources; designed for Windows domain contexts.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install dsinternals
from dsinternals import *
# Use AD internals classes and functions to interact with directory services
Verify before relying
- Specific AD operations supported (credential extraction, NTDS parsing, replication, etc.) not detailed in excerpt
- Whether package works with modern AD versions or has known compatibility constraints
- Scope of 'internals' access—what privilege levels or data sources are required
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.4 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyopensslpycryptodomex |
| Maintenance | Aging 194 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,231 / month, #14,643 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: dsinternals-1.2.5-py3-none-any.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 › “windows ad internals”
- dsinternalsInteract with Windows Active Directory by reading and manipulating…
- msldapmsldap is a Python library for querying and interacting with…
- streamlit-msalAdds Microsoft Authentication Library (MSAL) integration to Streamlit…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
See also msldap · ldapdomaindump · azure-storage-file-datalake · ipaddr · googleads · azure-storage-file-share · spidev · dictknife · identity