Skip to main content

Quick login into the annoying LDAP

Project description

ldaplogin-iitmandi

ldaplogin-iitmandi is a Python package designed to automate the login and logout process to the IIT Mandi network. It securely stores LDAP credentials using the keyring library and provides command-line tools for logging in, logging out, and managing credentials.

Features

  • Secure Credentials: Store LDAP credentials in the system's keyring.
  • Automated Login: Log into the IIT Mandi portal with stored credentials.
  • Automated Logout: Easily log out of the IIT Mandi portal.
  • Command-line Interface: Simple commands for setup, login, and logout.

Installation

Install the package via pip:

pip install ldap-iitmandi

Setup and Usage

  1. Store Credentials
    To securely store your LDAP username and password, run the following command:

    ldap-setup
    
  2. Login to the Portal
    Once the credentials are set up, you can log in to the IIT Mandi portal using:

    ldap-login
    
  3. Logout from the Portal
    To log out from the portal:

    ldap-logout
    

Requirements

The package requires the following Python libraries:

  • httpx
  • beautifulsoup4
  • keyring

These are automatically installed with the package.

License

This package is licensed under the MIT License.


This summary provides users with clear instructions to set up and use the ldaplogin-iitmandi package for their login and logout automation.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

ldap_iitmandi-1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

ldap_iitmandi-1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file ldap_iitmandi-1.0.tar.gz.

File metadata

  • Download URL: ldap_iitmandi-1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ldap_iitmandi-1.0.tar.gz
Algorithm Hash digest
SHA256 59f258db37e9746aa5cd8e3026d7fe3491102d6997ea28b2d99395d15e99cb48
MD5 c09804597066b2a37a38e99b67489a14
BLAKE2b-256 8e29ecaa3ccdd28b7a2b492ccb0b981f831c8281d5d1b424ad07a3dab8f88d8b

See more details on using hashes here.

File details

Details for the file ldap_iitmandi-1.0-py3-none-any.whl.

File metadata

  • Download URL: ldap_iitmandi-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ldap_iitmandi-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd1c0f2ad2f0814850bb08669dcc8f6acf3f60b77912ea8b6c00019e72cdc82f
MD5 0a1b1015dc19cdb229381ff61564288c
BLAKE2b-256 6d9d3366b0cb98606a7a646698213e0441dcf5fd0b8c3a2e9ee5dd63da080517

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page