Skip to main content

A simple package to interact with the EPFL LDAP

Project description

<!-- markdownlint-disable -->
<h1 align="center" style="margin:1em">

<h4 align="center">
Python toolkit for EPFL

<p align="center">
<a href="">
<img src=""

## Overview

epfl-ldap is an amazing toolkit that provides basics functionalities to EPFL

* LDAP search
* LDAP authenticate
* etc

## License

[MIT license - Copyright (c) EPFL](./LICENSE)

## Requirements

Python (2.7, 3.5)

## Installation

pip install epfl-ldap

## How test

To run tests locally :
> You must create enviroment variables for authenticate

To run tests with coverage in your current python version :
pytest --cov=epflldap

To run mock tests in all python version :

## How check PEP8

To check if the python code is PEP8 compliant :
flake8 --max-line-length=120

## How to publish a new version

* Update the file
* Update the version of this package. See file
* Generate a new distribution
python sdist
a new *.tar.gz file is created in dist/
* Test this new version
* Push all changes on github (with tests, docs, etc)
* Publish this new version on pypi
twine upload dist/*


- [x] Config flake8 to check PEP8
- [x] Config pytest
- [x] Config pytest with coverage
- [x] Config tox to support many python versions
- [x] Config mock tests
- [x] Config travis CI
- [ ] Write doc and publish it on
- [x] LDAP search
- [x] Define CONSTANTS
- [x] ldap_server = ''
- [x] ldap_base = "o=epfl,c=ch"
- [x] User can define environment variable to override constants
- [x] LDAP authenticate

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 epfl-ldap, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size epfl-ldap-0.0.6.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page