Metadata-Version: 2.1
Name: mtdl
Version: 4.12
Summary: Python multi-thread file downloader.
Author: Bill Loic
Author-email: billloic6@gmail.com
License: Copyright (C) 2024 BillLoic
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
        EXTENDED
        
        The purpose of this software is to enable users to have a better online experience. When using this software to access Internet resources, please be sure to abide by relevant copyright and other relevant rules. The developer will not be responsible for this.
        
        The libraries used in this software are the trademarks of the original authors.
        
        It is prohibited to use this software to access illegal Internet resources, conduct Distributed Denial of Service attacks (DDoS), or conduct activities that violate the laws and regulations of the region. Anyone who violates the regulations shall be solely responsible for the legal liability.
        
        This library does not have the function of increasing network bandwidth, and the actual effect depends on the user's current network conditions.
        
        This program library is a multi-threaded program and may have known problems in some cases. The developer does not guarantee the effectiveness of this program library.
        
        For some compatibility issues, everyone is welcome to adapt.
        
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Internet
Classifier: Topic :: Internet :: WWW/HTTP
Description-Content-Type: text/markdown
License-File: LICENSE-en

# MTDL

A multi-thread based python downloader.

# Usage

1. install: `pip install mtdl`
2. Choose use API or command-line-interface mode

# CMD-Line interface

After installed, just type command like format below:
```bash
mtdl [-h | --help]
```
To get usage.

# API

Create a `MultiThreadDownloader` instance and call its `start` method

```python
from mtdl import MultiThreadDownloader
p = MultiThreadDownloader(<Your url>, (chunk_size, filename))
p.start()
```


# LICENSE AND NOTICES

See <a href=https://github.com/BillLoic/mtdl/blob/main/LICENSE-en>license file</a>.
