This repository contains scripts to manage your Conda environments and Git operations effectively. These tools help you create, update, export, and force-update Conda environments from YAML files, as well as manage your Git branches and updates. This project aims to streamline development workflows for machine learning projects.
- Export Conda environment to a YAML file
- Import Conda environment from a YAML file
- Force update Conda environment from a YAML file
- Manage Git branches and updates
- Clone the repository:
git clone https://github.com/roboticvedant/ml-env-dev-tools.git cd ml-env-dev-tools
- Add the
utils-scripts
as a submodule:git submodule add https://github.com/roboticvedant/utils-scripts.git utils git submodule init git submodule update
your working dir
│
├── utils
│ └── scripts
│ ├── move-to-working-dir
│ │ └── setup-env.sh
│ ├── export-conda-env.sh
│ ├── setup-conda-env.sh
│ └── manage-git.sh
│
├── YOUR FILES
├── environment.yml
├── setup-env.sh
├── .gitmodules
└── README.md
- Copy
setup-env.sh
to your main working directory:cp setup-env.sh /path/to/your/main/project/directory cd /path/to/your/main/project/directory
- Export Conda Environment:
- This script exports your Conda environment to a YAML file.
- Command:
./setup-env.sh --export-env
- Import Conda Environment:
- This script imports a Conda environment from a YAML file.
- Command:
./setup-env.sh --import-env-yaml
- Force Update Conda Environment:
- This script forcefully updates your Conda environment according to the YAML file.
- Command:
./setup-env.sh --force-env-yaml
- Manage Git Operations:
- This script fetches, pulls, and manages your Git branches.
- Command:
./setup-env.sh
If you encounter any issues or have ideas for new features, please open an issue on the GitHub Issues page.
We welcome contributions to make this project better and richer. If you would like to contribute, please fork the repository and submit a pull request with your changes. We appreciate your collaboration in making these open-source development tools better for everyone.
This project is licensed under the MIT License. See the LICENSE file for details.
- Open an issue on the GitHub Issues page.
- Fork the repository, make your changes, and submit a pull request.