Skip to content

theatlantic/python-active-directory

 
 

Repository files navigation

Python-Active-Directory

This is Python-AD, an Active Directory client library for Python on UNIX/Linux systems.

Note - version 1.0 added support for Python >= 3.6 and version 2.0 will drop support for Python 2

Install

$ pip install -e git+git@github.com:theatlantic/python-active-directory.git@v1.0.0+atl.2.0#egg=python-active-directory

Development

Get the code

$ git clone git@github.com:theatlantic/python-active-directory.git
$ cd python-active-directory

Create virtual environment

$ python -mvenv venv
$ . venv/bin/activate
$ pip install -e .

Testing

Version 1.0 switched to using pytest instead of nose, and added tox configuration for supporting testing across various supported Python versions.

$ pip install tox
$ tox

Special environment variables:

  • PYAD_TEST_CONFIG - Override the default test configuration file (formerly FREEADI_TEST_CONFIG)
  • PYAD_READONLY_CONFIG - Enable readonly tests, must be in the form of username:password@domain.tld

About

Active Directory client for Python on Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.9%
  • C 7.1%