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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mango_auth-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 ab427df232b1824c7952bb6938e0200a97ac7b48add933f59a44b535b5318d12
MD5 abb1ba9727ce59c87f4e2dc4fd99a779
BLAKE2b-256 d649bbd54fcfe3e9120b6d626afc3edf7d7522d01b394f005b2a78953d9fb0d2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mango_auth-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0ecadb49e1cfabadf37c4adaac95c6c6339ff577f433f5aa1dad1d133ab2ad4d
MD5 46fc88f5516504578223d8c30834fb4b
BLAKE2b-256 f1f0ddc3257c174821b55d5008151309f396c425e3646520bff0dd8354978f4f

See more details on using hashes here.

Provenance

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