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
Metadata
Release files for mango-auth 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mango_auth-0.0.11.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mango_auth-0.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / mango_auth-0.0.11.tar.gz
| Download URL | mango_auth-0.0.11.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c2881e9be6e6f76dd1225ab561f07f145acddd74dd6aef4da8d4928a1377339
|
|
BLAKE2b-256 checksum How to use checksums |
cb60d579d67739c8a313a4c4ec276b19ae6995eafce591b0b99c618b97253488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 17, 2026.
Transparency logRelease files / mango_auth-0.0.11-py3-none-any.whl
| Download URL | mango_auth-0.0.11-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70774a9dcc566ea9d906fa19c8164d6880deffdfc451e73eb1f642de2fc241f3
|
|
BLAKE2b-256 checksum How to use checksums |
28dd57aafea39ef9a00b8ead5b773eb472167d99695da68ffcb4a08a1f5b438e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 17, 2026.
Transparency log