python-win-ad


Namepython-win-ad JSON
Version 0.6.3 PyPI version JSON
download
home_pagehttps://github.com/jcarswell/pyad/
SummaryAn Object-Oriented Active Directory management framework built on ADSI
upload_time2024-10-02 11:33:32
maintainerJosh Carswell
docs_urlNone
authorZakir Durumeric
requires_python>=3.6
licenseApache License, Version 2.0
keywords python microsoft windows active directory ad adsi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :align: center
    :target: https://github.com/psf/black
    :alt: code style: black

Introduction
------------

pyad is a Python library designed to provide a simple, Pythonic interface to Active Directory
through ADSI on the Windows platform. Complete documentation can be found at
http://jcarswell.github.io/pyad/. Code is maintained at https://github.com/jcarswell/pyad. The 
library can be downloaded from PyPI at https://github.com/jcarswell/pyad.

Breaking Changes from upstream
------------------------------

ADObject:

- _get_password_last_set - Act's like AD and returns 1970-01-01 if the date can't be parsed
- get_last_login - Act's like AD and returns 1970-01-01 if the date can't be parsed

Importing pyad directly exposes set_defaults, ADQuery, ADComputer, ADContainer, ADDomain,
ADGroup, ADUser, from_cn, from_dn, from_guid. Importing pyad.pyad no longer imports
the sub modules

Most ADObject update methods now take flush as an optional argument that defaults to True
to maintain compatibility with upstream code. For large updates it's recommended to set 
this to False until you are ready to write out the change, otherwise you may run into a 
back-off period in AD where all further changes will fail.

Requirements
------------

pyad requires pywin32, available at https://github.com/mhammond/pywin32.


Testing
-------

To run unittest you will need to set the configuration to be specific to your environment. 
To do this you will need to edit config.py located in the tests folder.


License
-------

pyad is licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy 
of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the 
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
either express or implied. See the License for the specific language governing permissions 
and limitations under the License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jcarswell/pyad/",
    "name": "python-win-ad",
    "maintainer": "Josh Carswell",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "Josh.Carswell@thecarswells.ca",
    "keywords": "python microsoft windows active directory AD adsi",
    "author": "Zakir Durumeric",
    "author_email": "zakird@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a0/4d/62e63ceeda74e3d22efe3d18b77b59b3a02e70721b78547bb587f7e8d9e3/python_win_ad-0.6.3.tar.gz",
    "platform": null,
    "description": ".. image:: https://img.shields.io/badge/code%20style-black-000000.svg\r\n    :align: center\r\n    :target: https://github.com/psf/black\r\n    :alt: code style: black\r\n\r\nIntroduction\r\n------------\r\n\r\npyad is a Python library designed to provide a simple, Pythonic interface to Active Directory\r\nthrough ADSI on the Windows platform. Complete documentation can be found at\r\nhttp://jcarswell.github.io/pyad/. Code is maintained at https://github.com/jcarswell/pyad. The \r\nlibrary can be downloaded from PyPI at https://github.com/jcarswell/pyad.\r\n\r\nBreaking Changes from upstream\r\n------------------------------\r\n\r\nADObject:\r\n\r\n- _get_password_last_set - Act's like AD and returns 1970-01-01 if the date can't be parsed\r\n- get_last_login - Act's like AD and returns 1970-01-01 if the date can't be parsed\r\n\r\nImporting pyad directly exposes set_defaults, ADQuery, ADComputer, ADContainer, ADDomain,\r\nADGroup, ADUser, from_cn, from_dn, from_guid. Importing pyad.pyad no longer imports\r\nthe sub modules\r\n\r\nMost ADObject update methods now take flush as an optional argument that defaults to True\r\nto maintain compatibility with upstream code. For large updates it's recommended to set \r\nthis to False until you are ready to write out the change, otherwise you may run into a \r\nback-off period in AD where all further changes will fail.\r\n\r\nRequirements\r\n------------\r\n\r\npyad requires pywin32, available at https://github.com/mhammond/pywin32.\r\n\r\n\r\nTesting\r\n-------\r\n\r\nTo run unittest you will need to set the configuration to be specific to your environment. \r\nTo do this you will need to edit config.py located in the tests folder.\r\n\r\n\r\nLicense\r\n-------\r\n\r\npyad is licensed under the Apache License, Version 2.0 (the \"License\"). You may obtain a copy \r\nof the License at http://www.apache.org/licenses/LICENSE-2.0.\r\n\r\nUnless required by applicable law or agreed to in writing, software distributed under the \r\nLicense is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, \r\neither express or implied. See the License for the specific language governing permissions \r\nand limitations under the License.\r\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "An Object-Oriented Active Directory management framework built on ADSI",
    "version": "0.6.3",
    "project_urls": {
        "Documentation": "https://jcarswell.github.io/pyad/",
        "Homepage": "https://github.com/jcarswell/pyad/",
        "Issues": "https://github.com/jcarswell/pyad/issues/"
    },
    "split_keywords": [
        "python",
        "microsoft",
        "windows",
        "active",
        "directory",
        "ad",
        "adsi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "05f96354f8fd092d365ce9d25573b90ac6347047ad8270f480d82d4c1968c0a6",
                "md5": "898ee0a9b54105a958b2343ac7af2686",
                "sha256": "82cdec77595c005660241b31bc9cd05795569c402a7d2367ea60ed3c67d3e5d7"
            },
            "downloads": -1,
            "filename": "python_win_ad-0.6.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "898ee0a9b54105a958b2343ac7af2686",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 34223,
            "upload_time": "2024-10-02T11:33:30",
            "upload_time_iso_8601": "2024-10-02T11:33:30.813232Z",
            "url": "https://files.pythonhosted.org/packages/05/f9/6354f8fd092d365ce9d25573b90ac6347047ad8270f480d82d4c1968c0a6/python_win_ad-0.6.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a04d62e63ceeda74e3d22efe3d18b77b59b3a02e70721b78547bb587f7e8d9e3",
                "md5": "559099b9fea0a9cd0c5282f743855cb5",
                "sha256": "703d746eecfefbd8370c50758f55b85c2384d3f9cb3c2022dae92abe0c0dc7b6"
            },
            "downloads": -1,
            "filename": "python_win_ad-0.6.3.tar.gz",
            "has_sig": false,
            "md5_digest": "559099b9fea0a9cd0c5282f743855cb5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 31473,
            "upload_time": "2024-10-02T11:33:32",
            "upload_time_iso_8601": "2024-10-02T11:33:32.595500Z",
            "url": "https://files.pythonhosted.org/packages/a0/4d/62e63ceeda74e3d22efe3d18b77b59b3a02e70721b78547bb587f7e8d9e3/python_win_ad-0.6.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-02 11:33:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jcarswell",
    "github_project": "pyad",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "python-win-ad"
}
        
Elapsed time: 0.91316s