Download any file or files on the go!
Project description
get-file
Download any file asynchronously with ease using this Python package available on PyPi.
This Python package is designed to simplify the process of downloading files asynchronously. With its easy-to-use interface, users can quickly and efficiently download any file from the internet without the need for complex coding. Whether you’re downloading large ones, small ones, single or multiple files this package is built to handle it all.
This package utilizes concept of Multi-Threading to perform downloads asynchronously, which means that the download process won’t block the main thread and can continue to run in the background while other tasks are being performed. This feature makes it ideal for developers who need to download large volumes of files or who want to create applications that require efficient file downloading.
In addition, this package is available on PyPi, which means that it can be easily installed using pip. Once installed, you can import it into your Python code and start using it right away. With its simple and straightforward API, downloading files asynchronously has never been easier.
Contributions
Actively soliciting contributors! Have ideas for how get-file can be improved? Feel free to open an issue or a pull request!
Installation
pip install get-file
Usage
Download Single File :
from file_downloader import get_file
get_file.download("https://example.com/file.mp3")
Download Multiple Files :
from file_downloader import get_file
get_file.download_files(["https://example.com/file1.mp3", "https://example.com/file2.pdf"])
Restrictions
It won’t download youtube videos
Only support download links that have files in the prefix
- Example -
- Link should contain filename
For example : www.example.com/file.pdf
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.