Coder Social home page Coder Social logo

deadsec-security / pretty-downloader Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 3.0 64 KB

If you want a progress bar when downloading files in your python app, this is the library for you.

License: MIT License

Python 100.00%
downloader pretty-print download python-downloader tqdm progress-bar

pretty-downloader's Introduction

Pretty Downloader Version Python_Version License Donate

CodeQL

PyPI - Downloads PyPI - Downloads PyPI - Downloads

๐Ÿ“ CONTRIBUTIONS

Before doing any contribution read CONTRIBUTING.

๐Ÿ“ง CONTACT

Email: [email protected]

General Discord: https://discord.gg/dFD5HHa

Developer Discord: https://discord.gg/rxNNHYN9EQ

๐Ÿ“ฅ INSTALLING

Latest PyPI stable release

pip install pretty-downloader

โš™ HOW TO USE

import pretty_downloader
pretty_downloader.download(<YOUR URL>)

OR

from pretty_downloader import download
download(<YOUR URL>)

๐Ÿค PARAMETERS

  • url : str, required
    • This should be the url of the file you wish to download
  • file_path : str, optional
    • The path to save the file (Default: "")
  • file_name : str, optional
    • The file name you want the file to be saved with. Should include file extension (Default: None)
  • show_progress : bool, optional
    • Option to disable/enable the default progress bar (Default: True)
  • name : str, optional
    • The name you want to appear in the progress bar (default: 'Download progress')
  • block_size : int, optional
    • The size of the download block (Default: 1024)
  • proxies : dict, optional
  • headers : dict, optional
    • Dictionary of headers (Default: None)
    • Example: {'user-agent': 'Mozilla/5.0'}
  • RETURNS: Path of file downloaded

๐Ÿ–ผ๏ธ SCRIPT SCREENSHOTS & VIDEOS

alt text

pretty-downloader's People

Contributors

deadsec-security avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pretty-downloader's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.