Skip to main content

Mango Auth is a small python module to authenticate using interactive pam authentication against an iRODS installation, opening web browser links as needed.

Project description

Mango Auth

Mango Auth is a small python module to authenticate using interactive pam authentication against an iRODS installation, opening web browser links as needed.

Usage

$ pip install mango_auth
$ mango_auth <irods_user_name> <irods_zone_name> <irods_host>
2025-10-06 16:24:44,513 - irods.auth.pam_interactive - INFO - Server prompt: Please authenticate at https://mango-auth.icts.kuleuven.be/oauth/device/auth?user_code=XXXXXXXXXX
Opening browser for authentication: https://mango-auth.icts.kuleuven.be/oauth/device/auth?user_code=XXXXXXXXXX
2025-10-06 16:25:04,745 - irods.auth.pam_interactive - INFO - Server prompt: You are authenticated using a device code.

or in python:

from mango_auth import iinit
iinit('user_name', 'zone_name', 'host')

Development

$ python -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt 
$ pip install --editable src

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

mango_auth-0.0.7.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mango_auth-0.0.7-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file mango_auth-0.0.7.tar.gz.

File metadata

  • Download URL: mango_auth-0.0.7.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mango_auth-0.0.7.tar.gz
Algorithm Hash digest
SHA256 856c658f9db7b17c3a479ecf6e2c3fb1fbb38381f479054809c26a8a4d9e8122
MD5 776789584eb2d5d36c0c614b173398a8
BLAKE2b-256 d888cd2b9febd1af4378f5d0dd28e944a14ab7a3280c288fa788a16d90fdcfc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mango_auth-0.0.7.tar.gz:

Publisher: python-publish.yml on kuleuven/mango-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mango_auth-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: mango_auth-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mango_auth-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f06f6b682e298aac1f40529ed417275e69cd4b98eded9260de892478ec10a3d4
MD5 0ecd80e4e2304f06dc9d9ef8ae48a839
BLAKE2b-256 df6c4058d34421d04983b6e322edf6219c6ac069bfd733c8a9945634481f1a9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mango_auth-0.0.7-py3-none-any.whl:

Publisher: python-publish.yml on kuleuven/mango-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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