{ "info": { "author": "Charmier Gr\u00e9gory", "author_email": "gregory.charmier@epfl.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "\n

\n epfl-ldap\n

\n\n

\n Python toolkit for EPFL\n

\n\n

\n \n \"Travis\"\n \n

\n
\n\n## Overview\n\nepfl-ldap is an amazing toolkit that provides basics functionalities to EPFL\n\n* LDAP search\n* LDAP authenticate\n* etc\n\n## License\n\n[MIT license - Copyright (c) EPFL](./LICENSE)\n\n## Requirements\n\nPython (2.7, 3.5)\n\n## Installation\n\n```\npip install epfl-ldap\n```\n\n## How test\n\nTo run tests locally :\n```\npytest\n```\n> You must create enviroment variables for authenticate \n``` \nexport EPFL_LDAP_TEST_CORRECT_USERNAME=kermit\nexport EPFL_LDAP_TEST_CORRECT_PWD=xxxxxx\n```\n\nTo run tests with coverage in your current python version :\n```\npytest --cov=epflldap\n```\n\nTo run mock tests in all python version : \n```\ntox\n```\n\n## How check PEP8\n\nTo check if the python code is PEP8 compliant :\n```\nflake8 --max-line-length=120\n```\n\n## How to publish a new version\n\n* Update the CHANGELOG.md file\n* Update the version of this package. See __init__.py file\n* Generate a new distribution\n```\npython setup.py sdist\n```\na new *.tar.gz file is created in dist/\n* Test this new version\n* Push all changes on github (with tests, docs, etc)\n* Publish this new version on pypi\n```\ntwine upload dist/*\n```\n\n\n## TODO \n\n- [x] Config flake8 to check PEP8\n- [x] Config pytest \n- [x] Config pytest with coverage\n- [x] Config tox to support many python versions\n- [x] Config mock tests\n- [x] Config travis CI\n- [ ] Write doc and publish it on http://docs.readthedocs.io\n- [x] LDAP search\n - [x] Define CONSTANTS\n - [x] ldap_server = 'ldap.epfl.ch'\n - [x] ldap_base = \"o=epfl,c=ch\"\n - [x] User can define environment variable to override constants\n- [x] LDAP authenticate", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/epfl-idevelop/epfl-ldap", "keywords": "EPFL development LDAP search authenticate", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "epfl-ldap", "package_url": "https://pypi.org/project/epfl-ldap/", "platform": "", "project_url": "https://pypi.org/project/epfl-ldap/", "project_urls": { "Homepage": "https://github.com/epfl-idevelop/epfl-ldap" }, "release_url": "https://pypi.org/project/epfl-ldap/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "A simple package to interact with the EPFL LDAP", "version": "0.0.6" }, "last_serial": 3430729, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0ff56fb8ecc73c7fea0e62e4cdf80e00", "sha256": "afeb2365aa235b4256839e91a0f971165128e1d800fee1a35acd9052f51a25b8" }, "downloads": -1, "filename": "epfl-ldap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0ff56fb8ecc73c7fea0e62e4cdf80e00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4916, "upload_time": "2017-09-27T12:39:28", "url": "https://files.pythonhosted.org/packages/9a/c5/9ff8faec90b750546d4de724e6a93323595c3c6753cd9d675502314a6953/epfl-ldap-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3bade70cd2f16941a30213399fd1a9b9", "sha256": "a750df796171bba82bc7e334efda6b6a13ad099050c3e262d939d91fa19c3a0c" }, "downloads": -1, "filename": "epfl-ldap-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3bade70cd2f16941a30213399fd1a9b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5022, "upload_time": "2017-09-29T19:01:15", "url": "https://files.pythonhosted.org/packages/5c/9e/b38ff16ed18ffaa76773909677ff76685bab6fbbc9b199459cd55f40eb9b/epfl-ldap-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1fe49cab813c203560cc0d8748f03d95", "sha256": "93d90302264ca85a7785e9bc2cb992ce169b9c5d617ce30a2fe9d0448c1195d1" }, "downloads": -1, "filename": "epfl-ldap-0.0.3.tar.gz", "has_sig": false, "md5_digest": "1fe49cab813c203560cc0d8748f03d95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5085, "upload_time": "2017-11-24T05:43:46", "url": "https://files.pythonhosted.org/packages/29/a8/63d9204e5bfbcb3d9e798c4519cc173115904902ed8b1f169f8c7a193e44/epfl-ldap-0.0.3.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "a01dcc2347593cf71bdd74668e291d07", "sha256": "6a52f087eddc0a7ca5d795a60f7732455342447fb8b18192b9b35f5159407b9c" }, "downloads": -1, "filename": "epfl-ldap-0.0.6.tar.gz", "has_sig": false, "md5_digest": "a01dcc2347593cf71bdd74668e291d07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5822, "upload_time": "2017-12-20T09:19:53", "url": "https://files.pythonhosted.org/packages/86/f2/9708027ada8f600cadd6e95fac29ad3bc31980f5e19858f21cb4754e58a3/epfl-ldap-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a01dcc2347593cf71bdd74668e291d07", "sha256": "6a52f087eddc0a7ca5d795a60f7732455342447fb8b18192b9b35f5159407b9c" }, "downloads": -1, "filename": "epfl-ldap-0.0.6.tar.gz", "has_sig": false, "md5_digest": "a01dcc2347593cf71bdd74668e291d07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5822, "upload_time": "2017-12-20T09:19:53", "url": "https://files.pythonhosted.org/packages/86/f2/9708027ada8f600cadd6e95fac29ad3bc31980f5e19858f21cb4754e58a3/epfl-ldap-0.0.6.tar.gz" } ] }