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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mampok-3.3.0.tar.gz | 2.5 MB | Without provenance | Details for mampok-3.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mampok-3.3.0-py3-none-any.whl | Python 3 | none | any | Details for mampok-3.3.0-py3-none-any.whl |
Total release size: 2.6 MB
Release files / mampok-3.3.0.tar.gz
| Download URL | mampok-3.3.0.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea980e96c03626d3d7c426b0c9c6d9f0608c6275defa8068a7fd31d93a5f0441
|
|
BLAKE2b-256 checksum How to use checksums |
cdc4403d80a8610d84e9525adba88343c5b669275a1512f0c542446449b716e6
|
| 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.3.0-py3-none-any.whl
| Download URL | mampok-3.3.0-py3-none-any.whl |
|---|---|
| Size | 75.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcc3d5819e6e0b7ef7bb93c9ff6a6eb1f592a60022a21f16e6df2616fef0df6b
|
|
BLAKE2b-256 checksum How to use checksums |
1c1d7b5e139cc979d6473a8600055b523182d0b81b2b00f38d680de230edcba9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|
Security for mampok 3.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.