semvec/pypi-packages huggingface dataset:
djdownloader 0.0.2
DjDownloader: Django Download Worker
Requires Python: >=3.8

# DjDownloader: Django Download Worker

DjDownloader is a Django app that provides a download worker for downloading files in the background.

## Installation

To install the package, you can use pip:

```bash
pip install djdownloader
```

Add to your `settings.py` file:

```
INSTALLED_APPS = [
    ...
    'djdownloader',
]
```

Other settings: TBD

## Start Instant Background Download Worker 

```bash
python manage.py djdownloader
```

## Features

*   **Asynchronous downloads**: Uses `asyncio` and `aiohttp` for simultaneous downloads.
*   **Resumable downloads**: Handles retries using `Range` headers to resume downloads from where they left off.
*   **Backoff mechanism**: Uses a backoff mechanism to handle temporary network interruptions.
*   **Task management**: Uses a Django model to keep track of download tasks, their status, and other details.
*   **Instant Background Download Worker**: Handles downloads tasks.


## Roadmap 

*   Splitting a single file into chunks to download simultaneously.
*   User-facing enhancements.

## PYPI publising:

1. Fix version 

2. Build

```bash
$ python -m build
```

3. Upload to pypi
```bash
$ python -m twine upload dist/*
```