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:
- Clone the repository:
git clone https://github.com/loosolab/MAMPOK
- Move to the new repository directory:
cd MAMPOK
- 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.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mampok-3.1.3.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mampok-3.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / mampok-3.1.3.tar.gz
| Download URL | mampok-3.1.3.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
038cde62b0954eb5bee653720bd59330eeba8ce29a8f399e3fd5ce847590c76c
|
|
BLAKE2b-256 checksum How to use checksums |
8d739dfa6382b6055e92550524420a724db90a20b4e2743dbb1c596fc30393ab
|
| 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.3-py3-none-any.whl
| Download URL | mampok-3.1.3-py3-none-any.whl |
|---|---|
| Size | 74.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5da6330e6814be5d6b94ddf01b692db35c9e508003d170d258a102645a74b2e7
|
|
BLAKE2b-256 checksum How to use checksums |
52e27d31ab085e4bc99a58df4538f741657a8fda1bd96e8af49bca771967141b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|