Skip to main content

Set of utilities for finding jira accounts with LDAP check and optional file map

Project description

python-ldap2jira

Set of utilities for finding jira accounts with LDAP check and optional file map.

Test Coverage Pypi Upload Pypi Version Documentation Status

Pypi Package

https://pypi.org/project/ldap2jira/

Docs

https://python-ldap2jira.readthedocs.io/

Usage

Install package from pypi

pip install ldap2jira

In python

from ldap2jira import LDAP2JiraUserMap

l2j = LDAP2JiraUserMap(
    jira_url='https://yourjiraserver',
    jira_user='yourjirauser',
    jira_password='yourpassword',
    ldap_url='ldap://yourldapserver,
    ldap_base='ou=users,dc=your,dc=base',
    ldap_query_fields_username=['uid'],
    ldap_fields_username=['uid'],
    ldap_fields_mail=['mail'],
    ldap_fields_name=['cn'],
    ldap_fields_jira_search=[
        'mail', 'uid', 'cn'],
    email_domain='yourdomain.org'
)

l2j.find_jira_accounts(['usertofind', 'user2tofind'])

Project details


Download files

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

Source Distribution

ldap2jira-1.2.4.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

ldap2jira-1.2.4-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file ldap2jira-1.2.4.tar.gz.

File metadata

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

File hashes

Hashes for ldap2jira-1.2.4.tar.gz
Algorithm Hash digest
SHA256 db1e7fcb3f15af48251d7032fbedb25f63a1772ebc211838cf8e18d677a17349
MD5 95f7ec6235993678e0517662a8ef3ddf
BLAKE2b-256 96436dfac70070bc7706312b3151c18e4e9b1ba185334f23a30c8d339ef3ead1

See more details on using hashes here.

File details

Details for the file ldap2jira-1.2.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ldap2jira-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f03af90fb84c7b2a69d5d07dade91881b20f6ac81bf3e47fe13fb5eb4106ec44
MD5 a4ea633fb7c872d718d07607ecb01366
BLAKE2b-256 c447db29e468ec484fc2d49460891d4a999676ff44b2c65fe5e2dd87c1362695

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