All Projects → deepjyoti30 → Downloader Cli

deepjyoti30 / Downloader Cli

Licence: mit
A simple downloader written in Python with an awesome customizable progressbar.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Downloader Cli

Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+266.67%)
Mutual labels:  cli, progressbar
Conget
A CLI app for downloading file concurrently.
Stars: ✭ 72 (-61.29%)
Mutual labels:  cli, downloader
Horrible Downloader
horriblesubs.info python API and CLI
Stars: ✭ 28 (-84.95%)
Mutual labels:  cli, downloader
Node.cli Progress
⌛️ easy to use progress-bar for command-line/terminal applications
Stars: ✭ 466 (+150.54%)
Mutual labels:  cli, progressbar
Ruby Progressbar
Ruby/ProgressBar is a text progress bar library for Ruby.
Stars: ✭ 1,378 (+640.86%)
Mutual labels:  cli, progressbar
Got
Got: Simple golang package and CLI tool to download large files faster 🏃 than cURL and Wget!
Stars: ✭ 469 (+152.15%)
Mutual labels:  cli, downloader
Addic7ed Ruby
Ruby script to fetch subtitles on Addic7ed (auto-downloader)
Stars: ✭ 43 (-76.88%)
Mutual labels:  cli, downloader
Progress bar
Command-line progress bars and spinners for Elixir.
Stars: ✭ 281 (+51.08%)
Mutual labels:  cli, progressbar
Gophie
An Aggregator Engine for searching and downloading movies free - NO ADs!
Stars: ✭ 94 (-49.46%)
Mutual labels:  cli, downloader
Instascrape
🚀 A fast and lightweight utility and Python library for downloading posts, stories, and highlights from Instagram.
Stars: ✭ 76 (-59.14%)
Mutual labels:  cli, downloader
Pluradl.py
Automated download of Pluralsight courses
Stars: ✭ 406 (+118.28%)
Mutual labels:  cli, downloader
Cum
comic updater, mangafied
Stars: ✭ 117 (-37.1%)
Mutual labels:  cli, downloader
Fanficfare
FanFicFare is a tool for making eBooks from stories on fanfiction and other web sites.
Stars: ✭ 359 (+93.01%)
Mutual labels:  cli, downloader
Progressbar
Terminal-based progress bar for Java / JVM
Stars: ✭ 625 (+236.02%)
Mutual labels:  cli, progressbar
Tqdm
A Fast, Extensible Progress Bar for Python and CLI
Stars: ✭ 20,632 (+10992.47%)
Mutual labels:  cli, progressbar
Mythra
Music retrieval CLI and API using rust
Stars: ✭ 37 (-80.11%)
Mutual labels:  cli, downloader
Goodls
This is a CLI tool to download shared files and folders from Google Drive.
Stars: ✭ 256 (+37.63%)
Mutual labels:  cli, downloader
Irs
🎸 🎶 A music downloader that understands your metadata needs.
Stars: ✭ 268 (+44.09%)
Mutual labels:  cli, downloader
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-60.75%)
Mutual labels:  cli, downloader
Spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators.
Stars: ✭ 1,637 (+780.11%)
Mutual labels:  cli, progressbar

downloader-cli

A simple downloader written in Python with an awesome progressbar.


Installation   |   Requirements   |   Usage   |   Use It   |   Other examples   

forthebadge made-with-python

License Downloads PyPI AUR PRs Welcome

Installation

NOTE: The following packages (except installing manually) will get you the latest release. If you want to try out the latest development stuff, install manually.

PyPI

The package is available in PyPI here

Install it using

pip install downloader-cli

Arch

The package is available in the AUR here

Install it using yay

yay -S downloader-cli

Gentoo

The package is also available in src_prepare Gentoo overlay here

First set up src_prepare-overlay

sudo emerge -anv --noreplace app-eselect/eselect-repository
sudo eselect repository enable src_prepare-overlay
sudo emaint sync -r src_prepare-overlay

Install it using

sudo emerge -anv --autounmask net-misc/downloader-cli

Manual

If you want to manuall install, clone the repo and run the following command

sudo python setup.py install

Requirements

downloader-cli requires just one external module.

Usage

The script also allows some other values from the commandline.

usage: dw [-h] [-f | -c] [-e] [-q] [-b] [-v] SOURCE [TARGET]

positional arguments:
  SOURCE           URL of the file
  TARGET           target filepath (existing directories will be treated as
                   the target location)

optional arguments:
  -h, --help       show this help message and exit
  -f, -o, --force  overwrite if the file already exists
  -c, --resume     resume failed or cancelled download (partial sanity check)
  -e, --echo       print the filepath to stdout after downloading (other
                   output will be redirected to stderr)
  -q, --quiet      suppress filesize and progress info
  -b, --batch      Download files in batch. If this flag is passed the passed
                   source will be considered as a file with download links
                   seperated by a newline. This flag will be ignored if source
                   is a valid URL.
  -v, --version    show the program version number and exit

Use It

Want to use it in your project?

Import the Download class using the following.

from downloader_cli.download import Download
Download(url).download()

Above is the simplest way to use it in your app. The other arguments are optional.

Arguments

The module takes various arguments. Only one is required though.

Name required default
URL/file Yes
des No None (Current directory is selected and the name is extracted from the URL)
overwrite No False
continue_download No False
echo No False
quiet No False
batch No False
icon_done No
icon_left No
icon_border No | (If a single char is passed, it will be used for both the right and left border. If a string of 2 chars are passed, 1st char will be used as left border and the 2nd as the right border)

NOTE For details regarding the arguments, check Usage

NOTE In case the file size is not available, the bar is shown as indefinite, in which case the icon_left by default space(" ").

Other examples

In case you want to experiment with the progress bar's icons, here's some examples.

  • This is when I passed icon_done as # and icon_left as space.

  • In case a file's size is not available from the server, the progressbar is indefinite.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].