Skip to main content

ManGO: an iRODS Python Client based portal

WARNING: the current state is geared towards deployments in the KU Leuven specific cloud services, see Custom deployments for your options. In the near future, the KU Leuven specifics will be entirely decoupled from the generic code base so a default installation will work with a vanilla iRODS installation

The current version requires python 3.10 or higher. See also the section on changing the python version below.

Installation (local development mode, Linux, KULeuven specific for now)

You need to have a valid and initialised iRODS environment for your account, the easiest is to install the iRODS icommands and execute the instructions from the ManGO landing page for the chosen iRODS zone

Create a python virtual environment in the root of this repository checkout and install the required modules, for example

$ python3 -m venv venv
$ . venv/bin/activate
$ pip3 install -r requirements.txt

Vue2.js development and building

Currently the node module parcel and its dependencies are required for building, see https://parceljs.org/

Before using the first time, execute the following steps

$ cd src
$ npm install
$ npm run build

Make sure you activated the virtual environment

Launch the flask development server from the src directory:

$ cd src
$ ./run_waitress.sh

or

$ src/run_waitress.sh

This will start waitress as used in the production deployments, but adds a listener for reloading the app when you change files locally.

Point your browser to http://localhost:3000

Updating

Check for new required python modules and or versions

$ pip3 install -r requirements.txt

If you encounter javascript related errors, the used js files may need an update:

$ cd src
$ npm install
$ npm run build

Changing the python version

If you upgrade your python version, the requirements.txt may not be correct anymore (outdated packages). You can install updated python modules with:

$ pip list --outdated --format=freeze | grep -v '^\-e' | \
 cut -d = -f 1  | xargs -n1 pip install -U

Technical:

  • backend framework: Flask
  • code organisation: Flask blueprints for making things modular
  • leverage the irods-Python client
  • optional OpenSearch integration

Development guidelines

Python

The preferred formatter is black with its default options, it also has an integration with IDE's such as VSCode

Javascript

The preferred formatter is prettier with indenting to 4 spaces, no TAB's and single quotes for strings

Metadata

Release files for mango-portal 0.50.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mango-portal 0.50.2
File Size Uploaded Provenance Actions
mango_portal-0.50.2.tar.gz 8.8 MB Without provenance Details for mango_portal-0.50.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mango-portal 0.50.2
File Interpreter ABI Platform Actions
mango_portal-0.50.2-py3-none-any.whl Python 3 none any Details for mango_portal-0.50.2-py3-none-any.whl

Total release size: 17.8 MB

Release files / mango_portal-0.50.2.tar.gz

Download URL mango_portal-0.50.2.tar.gz
Size 8.8 MB
Tags Source
SHA-256 checksum
How to use checksums
ecd250b5e45bb20c7e22f603692e3e80ad9c3ca18ebb3f96a385a28a6a08f728
BLAKE2b-256 checksum
How to use checksums
1c2b9f9d7c7191269b71187d9d6800943c66a53ff671f175ae874b721c0ee2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / mango_portal-0.50.2-py3-none-any.whl

Download URL mango_portal-0.50.2-py3-none-any.whl
Size 8.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3f4d66b5921b2f1d8c0b33ecd4e9c99e97a7c15bc95e7378ff671d76e621eaa5
BLAKE2b-256 checksum
How to use checksums
fbeaaf75d941480dbbc5478e0c6abf6b53d9b2d26613b3f21e8f217bc9673d24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for mango-portal 0.50.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page