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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mampok-3.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6a7f43b0edb38fc452baaa04f3ccf9ede8f03b3d8cdd4e2a9395bfddd8de7cbd
MD5 db8443ac73a59ccef14b2fbbf7d72773
BLAKE2b-256 6508b9f85a6efaa1e8fd83a66a61b4664ad7d3b4c02b7f8c72e5e2d5adaa5b09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mampok-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 73.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e754becd7e7070b4e6537912932c51f45efc2340bff9227fdfd5fb5bcf48bb63
MD5 200d3682e28617d3b588d0cc068318fb
BLAKE2b-256 5b6a6fb19ce49a42d46d74d436d4085626e2028ea4a512dd631806b4a376f4ce

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.1.1 This release

2 files

3.1.0

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