The purpose of the tool is to simply downloads files, served by HTTP servers. It is done by doing a fixed-size chunking on the remote file, using the special HTTP header - Range
, if supported by the remote backend.
Downloading the portions of the file and writing them on the disk operations are being handled using the Producer-Consumer pattern
git clone https://github.com/snkolev18/mamba ~/mamba
python3 -m venv ~/mamba/venv
. ~/mamba/venv/bin/activate
pip3 install -r requirements.txt
You can also symlink once you complete the installation:
cd ~/mamba
chmod +x ~/mamba/bin/mamba
sudo ln -s ~/mamba/bin/mamba /usr/bin/mamba
Happy Downloading!