Giter Site home page Giter Site logo

linuxwhatelse / pyloader Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 118 KB

A simple, easy to use, multithreaded downloader with queuing.

License: GNU General Public License v3.0

Python 99.86% Shell 0.14%
python3 downloader library module python threaded pyloader

pyloader's Introduction

pyloader - A simple python downloader

Build Status pypi

pyloader is a simple, easy to use, multi-threaded downloader with queuing support.

It is NOT a command-line utility but instead something you can (if you want) implement
in one (or more, I don't care :)) of your applications.

I wrote project-specific downloader a few times now and finally decided to create a proper module for it as
I couldn't find an existing one (Haven't spent that much time searching though).

ToDo

Things to implement:

  • More unittests
  • Pause/Resume downloads

Requirements

What you need:

  • Python 2.7 / Python 3.4 and up
  • The great python requests module

Installation

From pypi (recommanded)

pip install lwe-pyloader

From source

git clone https://github.com/linuxwhatelse/pyloader
cd pyloader
python setup.py install

Usage

The source has been commented quite well so at any point you might just:

import pyloader
help(pyloader)

To get you started though, check the included examples.
Happy coding! :)

pyloader's People

Contributors

tadly avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

pyloader's Issues

Download slows down after the first item of the queue is finished

It's all in the title, the first item in the queue downloads fast (normal speed). After the first one is finished, the succeeding items downloads slowly. The max_concurrent property is set to 1, the download is super slow if there are two or more concurrent downloads.

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.