🛠Installation
1. 📥 Download or clone the repository
[TIP] Skip this step, if you're going to install the module directly from GitHub repository.
mkdir -pv ~/workspaces/projects
cd ~/workspaces/projects
# HTTPS:
git clone https://github.com/bybatkhuu/model-python-template.git
# Or SSH (development):
git clone git@github.com:bybatkhuu/model-python-template.git
cd model-python-template
Alternatively, download the source from the releases page and extract it into your projects directory.
2. 📦 Install the module
[NOTE] Choose one of the following methods to install the module [A ~ E]:
OPTION A. Install directly from git repository:
OPTION B. Install from the downloaded source code:
# Install directly from the source code:
pip install .
# Or install with editable mode:
pip install -e .
OPTION C. Install for DEVELOPMENT environment:
OPTION D. Install from pre-built package files (for PRODUCTION):
- Download
.whlor.tar.gzfile from releases. - Install with pip:
# Install from .whl file:
pip install ./simple_model-[VERSION]-py3-none-any.whl
# Or install from .tar.gz file:
pip install ./simple_model-[VERSION].tar.gz
OPTION E. Copy the module into the project directory (for testing):