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.11.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.11-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mango_auth-0.0.11.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.11.tar.gz
Algorithm Hash digest
SHA256 6c2881e9be6e6f76dd1225ab561f07f145acddd74dd6aef4da8d4928a1377339
MD5 1819542f955b8306c219ee4a3bb2016e
BLAKE2b-256 cb60d579d67739c8a313a4c4ec276b19ae6995eafce591b0b99c618b97253488

See more details on using hashes here.

Provenance

The following attestation bundles were made for mango_auth-0.0.11.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.11-py3-none-any.whl.

File metadata

  • Download URL: mango_auth-0.0.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 70774a9dcc566ea9d906fa19c8164d6880deffdfc451e73eb1f642de2fc241f3
MD5 0775678c358811f6ae3304aa15bf0425
BLAKE2b-256 28dd57aafea39ef9a00b8ead5b773eb472167d99695da68ffcb4a08a1f5b438e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mango_auth-0.0.11-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