Skip to main content

A simple package for multithreaded downloading

Project description

PyDownload

This package aims to provide the functionality to download large files from the internet using chunked and multithreaded downloads.

Index

Installation

pip install pydownload

Usage

import time
from pyDownload import Downloader

url = 'https://github.com/party98/Python-Parallel-Downloader/archive/master.zip'
downloader = Downloader(url=url)
if downloader.is_running:
    time.sleep(1)
print('File downloaded to %s' % downloader.file_name)

Developer Guide

Setting Up The Environment

  • Setup VirtualEnv (Recommended But Optional)

    pip install virtualenv
    virtualenv env
    source ./env/bin/activate
    
  • Install Dependencies

    pip install -r requirements.txt
    
  • Install pre-commit hooks

    The project uses various pre-commit hooks to enforce code quality and standards. Therefore, it is really necessary for all the contributors to install these and run before every commit else the contributions will be rejected.

    Steps
    pre-commit install
    

Running Tests

  • Install Dependencies

    pip install nose coverage
    
  • Run the Tests

    • With Coverage Report (Recommended)

      nosetests --cover-erase --cover-package=pyDownload --with-coverage --cover-branches
      
    • Without Coverage Report

      nosetests --cover-erase --cover-package=pyDownload  --cover-branches
      

SayThanks

You can thank the team here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyDownload-0.0.1.dev3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distributions

pyDownload-0.0.1.dev3-py3.5.egg (12.3 kB view details)

Uploaded Source

pyDownload-0.0.1.dev3-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyDownload-0.0.1.dev3.tar.gz.

File metadata

File hashes

Hashes for pyDownload-0.0.1.dev3.tar.gz
Algorithm Hash digest
SHA256 8d91735a059ba0e4882b72d429f6cfed1492192a0ab710d5d8ed8da7e24dc949
MD5 2d18eb85b37c6649b4a09e60b59e7703
BLAKE2b-256 0055a095271281f810c16a6832bbfc1b6f23ffe6083945bcb3c9a6b8511b41a2

See more details on using hashes here.

File details

Details for the file pyDownload-0.0.1.dev3-py3.5.egg.

File metadata

File hashes

Hashes for pyDownload-0.0.1.dev3-py3.5.egg
Algorithm Hash digest
SHA256 bdeaa6df2ce93f6e9e5d5c38f7e00748c57b09282b743093ae41be13be1f10ed
MD5 4285ec4b3b5dcc854f19b3ebeb5e8f29
BLAKE2b-256 e76d88f556124ddabe40adeac74369832b4f44393e68009caed209d753771f6f

See more details on using hashes here.

File details

Details for the file pyDownload-0.0.1.dev3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyDownload-0.0.1.dev3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c0444e488badc6a853bec04cf8ed6876a4d4f5c13796b1b5ef9d92a2f337ca1d
MD5 25e1cd66525205f8e9480823ca14ab74
BLAKE2b-256 f0c804d91bfc8299d32fc87b8012606429bb0c545b4d7e394b49f70f43370cb0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page