Simple Powershell Wrapper that Queries MS Active Directory for Users
Project description
msad-query - Microsoft Active Directory Query
Simple wrapper to perform Windows Powershell-based AD User Querys
Installation
Prerequisites
Active Directory Powershell feature. This can be installed from within Powershell with the following command:
Install-WindowsFeature -Name "RSAT-AD-PowerShell" -IncludeAllSubFeature
Cloning For Development
Set up a virtual environment. Once an environment is set up, activate it and add dependencies with the following:
pip install -r requirements/dev.txt
The dev.txt file includes:
- BLACK, a code formatter, see notes at the bottom of this file for details
- setuptools, which provides the support for the building of the package
To run tests:
python -m unittest discover -s tests/
Code Formatting
Code formatting is done using BLACK. BLACK allows almost no customization to how code is formatted with the exception of line length, which has been set to 119 characters.
Use the following to bulk format files:
black . -l 119
Creating A New Release
Please do the following when making a new release, most are documented above:
- Run tests
- Code format
- Be sure to update the change log and _metadata.json with version and notes
- git add, commit, and push changes
- run the following code to generate a wheel:
python -m build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file msad_query-1.0.15.tar.gz.
File metadata
- Download URL: msad_query-1.0.15.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69934a38e42d0c2cf711791b0f5031b578a03344704ff8028d47e8aa4d2cf055
|
|
| MD5 |
e42b9d1345b528a1c5c68791a371b820
|
|
| BLAKE2b-256 |
8ffc3c8cc8ca2dcf711450d7d46b7f3968ae965ac585ba4e6fb3e3a3b86cf7bc
|
Provenance
The following attestation bundles were made for msad_query-1.0.15.tar.gz:
Publisher:
publish.yml on joemarchionna/msad-query
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
msad_query-1.0.15.tar.gz -
Subject digest:
69934a38e42d0c2cf711791b0f5031b578a03344704ff8028d47e8aa4d2cf055 - Sigstore transparency entry: 983755032
- Sigstore integration time:
-
Permalink:
joemarchionna/msad-query@1f1bf96aa785777a014a4bb49f25d1d6db9ff9e0 -
Branch / Tag:
refs/tags/v1.0.15 - Owner: https://github.com/joemarchionna
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1f1bf96aa785777a014a4bb49f25d1d6db9ff9e0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file msad_query-1.0.15-py3-none-any.whl.
File metadata
- Download URL: msad_query-1.0.15-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d49d0278e65ea0f8c4831727eeca2c89d63235ed05293ace5414027b35c22d30
|
|
| MD5 |
c91489651458a53dfd55a93b08a18e5a
|
|
| BLAKE2b-256 |
4e32efc383fc96070ed500e70e0a05bc57ab5180fea5324b80e315855fd2d16d
|
Provenance
The following attestation bundles were made for msad_query-1.0.15-py3-none-any.whl:
Publisher:
publish.yml on joemarchionna/msad-query
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
msad_query-1.0.15-py3-none-any.whl -
Subject digest:
d49d0278e65ea0f8c4831727eeca2c89d63235ed05293ace5414027b35c22d30 - Sigstore transparency entry: 983755033
- Sigstore integration time:
-
Permalink:
joemarchionna/msad-query@1f1bf96aa785777a014a4bb49f25d1d6db9ff9e0 -
Branch / Tag:
refs/tags/v1.0.15 - Owner: https://github.com/joemarchionna
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1f1bf96aa785777a014a4bb49f25d1d6db9ff9e0 -
Trigger Event:
release
-
Statement type: