#### Other tools
- [`pdm sync`](https://pdm-project.org/latest/reference/cli/#sync)
- [`uv sync`](https://docs.astral.sh/uv/reference/cli/#uv-sync)
- [`poetry sync`](https://python-poetry.org/docs/cli/#sync)
- [Hatch syncs the environments automatically](https://hatch.pypa.io/latest/environment/#dependencies) whenever you run a command
#### Purpose
Get everything ready to run code.
#### Notes
- Create a virtual environment as necessary
- Automatically install dependencies
- Specify extras, dependency groups, and/or lock file (see [[#`py run`]])
- Does **not** install pip and setuptools
- Keep a cached copy of the latest `pip.pyz` around instead
- `--editable` to do an editable install
- `--watch` to watch the file used for installing dependencies to automatically recreate the environment
- Some option to opt into installing sdists and source trees (i.e. [`pip install --prefer-binary`](https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-only-binary) by default)
- Specify indexes
- Have a specific flag to opt out of PyPI