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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mango_auth-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 e7fbd473f3f896e2a38007c29989af1de2d44d62a5214868f1de5253120df847
MD5 e0ae185d5fd0bffec836930dc8cde5c3
BLAKE2b-256 c22683248d95802d91359cf8bfd678109f9ab9132f5c18a6519961752a3d98e0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mango_auth-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1cc45395bd65232dc54d5e292057e15cb1a06bec90718c620bf8a7660f1469bc
MD5 55b7ded51385a8358022310f7682be71
BLAKE2b-256 5fd93d0a8691c68c20efeb207963a47d250b1e2641ecdd4799b1cf5e4b13a53b

See more details on using hashes here.

Provenance

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