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.1.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 mampok 3.1.2
File Size Uploaded
mampok-3.1.2.tar.gz 1.5 MB Details

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / mampok-3.1.2.tar.gz

Download URL mampok-3.1.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
60e38534e1c1896b785f3e995e2fed27e9876ec31da38a753ba72625e4515ddc
BLAKE2b-256 checksum
How to use checksums
691821d1a01b9ad5c2400d8f6e049a54ec98d5f4a097ebc914d721d83d088843
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.1.2-py3-none-any.whl

Download URL mampok-3.1.2-py3-none-any.whl
Size 73.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e267416431e8ddd24b7a35f97be048fab51b47ab4fb2a7477974f8458802597b
BLAKE2b-256 checksum
How to use checksums
63efc9f0fe473019fa0b5db5d9fdb4c3a32a8e763182a655413686829bf4a832
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

3.2.0

2 release files

3.1.3

2 release files

This release

3.1.2 This release

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