This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

一个简单的支持多线程,断点续传及分布式的下载器。

Project Description
downloader_cluster
==================
DESCRIPTION
-----------
- 一个简单的支持多线程,断点续传及分布式的下载器
INSTALL
-------
ubuntu
>>>>>>
::

git clone https://github.com/ShichaoMa/downloader_cluster.git
sudo python setup.py install

or

sudo pip install downloader-cluster

USAGE
>>>>>
::

ubuntu@dev:~$ downloader -h
usage: downloader.py [-h] {start,reload} ...

positional arguments:
{start,reload}
start start download a file.
reload continue downlaod a file.

optional arguments:
-h, --help how this help message and exit
Command 'start'
usage: downloader.py start [-h] [-s SETTINGS] -u URL [-f FILENAME]

Command 'reload'
usage: downloader.py reload [-h] [-s SETTINGS] -u URL [-f FILENAME]

- demo1
::

- 普通下载
::

downloader start -u "https://download.jetbrains.8686c.com/python/pycharm-community-2016.2.tar.gz" -f test.tar.gz
- 断点续传(服务器需要提供支持)
::

downloader reload -u "https://download.jetbrains.8686c.com/python/pycharm-community-2016.2.tar.gz" -f test.tar.gz

- demo2
- 分布式下载
- 向redis队列中发布下载任务
- 实现自定义分布式下载器
- 参见: test_
.. _test: https://github.com/ShichaoMa/downloader_cluster/blob/master/test/test.py
Release History

Release History

This version
History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
downloader-cluster-1.0.6.tar.gz (7.3 kB) Copy SHA256 Checksum SHA256 Source Dec 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting