Skip to content

Latest commit

 

History

History

zenml

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hello there! This is the repository for ZenML. ZenML is an open-source framework to create production-grade MLOps pipelines. If you would like to see the published pip package can be found here.

This guide is intended to help you install ZenML from source, primarily for development purposes.

Install from source

Clone the repo

git clone https://github.com/zenml-io/zenml.git

# or ssh
git clone git@github.com:zenml-io/zenml.git

Create a virtualenv

To install the local ZenML files in an isolated environment, first create and activate a virtualenv by running

python -m venv <VIRTUALENV_NAME>
source <VIRTUALENV_NAME>/bin/activate

Upgrade pip

Installing editable packages from a pyproject.toml using pip requires a new version of pip, so we first make sure pip is up to date:

pip install --upgrade pip

Install dependencies

Then from the root of the package:

pip install -e ".[server,dev]"

This will install the ZenML package as an editable source (including all dev-dependencies), so now you should be good to go with that virtualenv.

CLI

After doing the above, you should have the zenml CLI installed in your virtualenv. You can check this with:

zenml version

Enabling auto completion on the CLI

For Bash, add this to ~/.bashrc:

eval "$(_zenml_COMPLETE=source_bash zenml)"

For Zsh, add this to ~/.zshrc:

eval "$(_zenml_COMPLETE=source_zsh zenml)"

For Fish, add this to ~/.config/fish/completions/foo-bar.fish:

eval (env _zenml_COMPLETE=source_fish zenml)

Authors