Installation
Before we begin, ensure that the mmcore
library is installed.
Docker
Preferred method of installation is docker.
docker pull ghcr.io/contextmachine/mmcore:mainNow you can use dev-container with `mmcore` during development. Or build images of your own applications and services for production.
Poetry
The second fine way of installing it, assuming you're using poetry.
Add mmcore in project dependencies
poetry add git+https://github.com/contextmachine/mmcore.gitAnd then just install using poetry.
poetry installNow you can import it.
import mmcore print(mmcore.__version__())
Pip
Also, you can install it using pip.
python3 -m pip install git+https://github.com/contextmachine/mmcore.gitNow you can import it.
import mmcore print(mmcore.__version__())
Last modified: 25 March 2024