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 update [options]

Partially update your environment variables. All options will take the current environment as their default value unless explicitly specified.

$ environment update --workers 8 --no-gpu

Choose a project

| AB82JD - movie-recommender
>>

Please select an environment
| dev

| prod
>>

Environment "staging" updated in project my-project (M9VHKD). Changed: /my/projects/my-project/environments/staging/.emily.env


Updating environments

Existing environments can be updated with the emily environment update command. This is useful for easily changing complex environment configurations, e.g. changing whether a GPU should be used in a given environment.

$ environment update --no-gpu

Only the provided flags will be used to overwrite the existing .emily.env file. If a flag is not provided, the related variables in .emily.env will remain unchanged.

    Options

  • -h,--help

    Display help for command

  • -n,--name<name>

    The name of the environment

  • -po,--port<port>

    The port assigned in this environment

  • -ho,--host<host>

    The host the API listens on in this environment

  • -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

  • -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.