Emily CLI Documentation

Release-v3.0.3

Emily combines the powers of Python and Docker to build stable and consistent machine learning and datascience python environments. Emily is useful for large cross-team project development as well as for simply running a single jupyter notebook or python script.

Download emily@v3.0.3
See earlier versions
$ emily environment add [options]

Add an environment to your project.

$ environment add

Choose a project

| AB82JD - movie-recommender
>>

Please enter the environment name: >>

Please enter a port: >>

Use a GPU in this environment?
(y/N) >>

Please enter the number of workers: >>

Environment "staging" added to project my-project (M9VHKD). Created: /my/projects/my-project/environments/staging/.emily.env


Creating environments

You can add environments to a project simply with the emily environment add command:

$ environment add --name my-environment --project <my project>

The command above creates a directory <project root>/environments/my-environment and writes a .emily.env file to it.

You can always add more files to your environment directories as long as their naming follow the *.env naming scheme. Emily will automatically merge the .env files in an environment when running or deploying a project.

    Options

  • -h,--help

    Display help for command

  • -n,--name<name>

    The name of the environment

  • -po,--port<port>

    The port assigned in this environment (default: 4242)

  • -ho,--host<host>

    The host address the API listens on in this environment (default: 0.0.0.0)

  • -g,--gpu(--no-gpu)

    Whether or not to use a GPU in this environment

  • -w,--workers<n>

    The number of workers to run in parallel in this environment (default: 1)

  • -p,--project<project>

    The project to manage environments for.

  • -s,--silent

    Execute Emily silently. (default: false)

  • -u,--update(--no-update)

    Prompt for update if newer version found. (default: true)

  • -vb,--verbose

    Print detailed information while running commands.