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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mampok-3.1.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mampok-3.1.0-py3-none-any.whl (73.7 kB view details)

Uploaded Python 3

File details

Details for the file mampok-3.1.0.tar.gz.

File metadata

  • Download URL: mampok-3.1.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.2

File hashes

Hashes for mampok-3.1.0.tar.gz
Algorithm Hash digest
SHA256 14a67b6ec911f60a77663d48cc5b280b3b10a71623938fde973eaf9f04ddd5a6
MD5 add53f853e6ab4581e38fba5b2ac36a5
BLAKE2b-256 63be2da99f62bfd450b9c660678fb34bf170943fdfcaad4f5e075c6c81614db4

See more details on using hashes here.

File details

Details for the file mampok-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: mampok-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 73.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.2

File hashes

Hashes for mampok-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42b3854eb82f4a89fa2691e4942f626df89db05c6029c0537ae9978e8213efea
MD5 fd4bce1c96f3aee8465ebab84b52bb3b
BLAKE2b-256 ca31b309d499eb9bfe5fc949a58c3b8c5181c7a8989cb894f06ff4b022d81e42

See more details on using hashes here.

Release history Release notifications | RSS feed

3.1.1

2 files

This release

3.1.0 This release

2 files

3.0.4

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page