Skip to main content

Python downloader with progress

Project description


Build PyPI version

Homura (ほむら) is a Python downloader with progress, which can be used to download large files.

It is named after Homura Akemi.


  • PycURL based
  • Resume downloads (if server supports byte ranges on the resource)
  • Support for requests.Session


Homura depends on PycURL. Install dependencies before installing the python package:


$ sudo apt-get install build-essential libcurl4-openssl-dev python-dev


$ sudo yum groupinstall "Development Tools"
$ sudo yum install libcurl libcurl-devel python-devel

Then, install homura

$ pip install homura


The simplest usage is to import the utility function download:

>>> from homura import download
>>> download('')
    3%      6.2 MiB     739.5 KiB/s            0:04:28 ETA

To specify path for downloaded file:

>>> download(url='',

You can specify extra headers as a dictionary:

>>> download(url='', headers={'API-Key': '123456'})

Or you can work with Session objects of the requests library:

>>> import requests
>>> s = requests.Session()
# Do some work with `s` and send requests
>>> download(url='', session=s)

Project details

Download files

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

Files for homura, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size homura-0.1.3.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page