Metadata-Version: 2.1
Name: python-active-directory
Version: 2.0.1
Summary: An Active Directory client library for Python
Home-page: https://github.com/theatlantic/python-active-directory
Author: Geert Jansen
Author-email: programmers@theatlantic.com
Maintainer: The Atlantic
Maintainer-email: programmers@theatlantic.com
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: python-ldap (>=3.0)
Requires-Dist: dnspython
Requires-Dist: ply (>=3.8)

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
-------

.. code:: bash

    $ 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
~~~~~~~~~~~~

.. code:: bash

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


Create virtual environment
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: bash

    $ 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.

.. code:: bash

    $ 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``


