Skip to main content

An Active Directory client library for Python

Project description

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 2: virtualenv venv
  • Python 3: 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-active-directory, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size python_active_directory-1.0.3-cp27-cp27m-macosx_10_11_x86_64.whl (36.5 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size python-active-directory-1.0.3.tar.gz (36.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page