Skip to main content

DOI Release PyPI Documentation FAIR checklist badge

Mampok (Managing Multiple Projects On Kubernetes) deploys containerized bioinformatics tools — Cellxgene, Jupyter, RStudio, IGV, and more — on a Kubernetes cluster backed by S3-compatible object storage. You describe your project in a JSON file (a Mamplan); Mampok handles S3 uploads, Kubernetes resource creation, pod readiness checks, and lifecycle management.

For more information about Mampok, please see the documentation.

How to install

Via Python package

Mampok is published in the Python Package Index (PyPI) under the name mampok. It can be installed with the following command:

pip install mampok

Via repository

You can install Mampok directly from the repository with the following commands:

  1. Clone the repository:
git clone https://github.com/loosolab/MAMPOK
  1. Move to the new repository directory:
cd MAMPOK
  1. Install:
pip install .

Quick start

1. Create a config file (pass its path to every command via --config):

{
  "cluster": {
    "MY_CLUSTER": {
      "host": "ingress.example.com",
      "namespace": "mampok",
      "kubeconfig_path": "/home/user/.kube/my-cluster-config"
    }
  },
  "s3": {
    "endpoint": "https://s3.example.com",
    "access_key": "my-access-key",
    "secret_key": "my-secret-key",
    "secretname": "s3-credentials",
    "prefix": "mampok"
  },
  "mamplates_path": "/path/to/mamplates/",
  "lifetime_days": 30,
  "mampok_version": ">=2.0.0,<3.0.0"
}

2. Create a Mamplan:

mampok create-mamplan \
  --project-id my-project \
  --tool cellxgene \
  --cluster MY_CLUSTER \
  --owner jdoe \
  --datatype scRNA-seq \
  --files data.h5ad \
  --output ~/mamplans/ \
  --config /path/to/config.json

3. Deploy:

mampok deploy ~/mamplans/my-project-mamplan.json --config /path/to/config.json

Metadata

Release files for mampok 3.2.0

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

Source distribution (sdist)

Source distribution for mampok 3.2.0
File Size Uploaded
mampok-3.2.0.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mampok 3.2.0
File Interpreter ABI Platform
mampok-3.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / mampok-3.2.0.tar.gz

Download URL mampok-3.2.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1ebdcb92e154db2432e677945ca4445a9139f0b576fa50838d875e7fc90801f6
BLAKE2b-256 checksum
How to use checksums
2daad4d7cee40302c88d5c1b4e81ed5fd67c04195f51bf8347aef5a28679f32a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Release files / mampok-3.2.0-py3-none-any.whl

Download URL mampok-3.2.0-py3-none-any.whl
Size 74.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db489f915fcc199fa2dfc249db3b34c617d99f28d94cc2552e8151d40f406113
BLAKE2b-256 checksum
How to use checksums
6d77232d0b15694b9b33718d990fee5f61c1e1cb275f999babdbeb776af5d765
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

3.2.0 This release

2 release files

3.1.3

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.4

2 release files

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