Skip to main content

No project description provided

Project description

A very fast downloader module that is based on pyCurl and multithreading.

You can pause, resume, stop and retry your downloads. If you run into issues with pyCurl installation, try:

env PYCURL_SSL_LIBRARY=openssl LDFLAGS="-L/path/to/openssl-parent-libdir" CFLAGS="-I/path/to/openssl-parent-include-dir" pip3 install --no-cache-dir --compile --ignore-installed pycurl

Example code:

from pyFunloader import Funload, humanize

import asyncio

async def test():
	action = Funload(
		url="https://proof.ovh.net/files/10Gb.dat",
        destination=downloads/, # optional
		progress_bar=True, # optional
        block=False # optional,
        timeout=10, # optional
        useragent="Some user agent" # optional
        buffer=20000 # optional
	)

	await action.start()

	while True:
		print(
f"""
File: {action.file_name}
Size: {humanize(action.file_size)}
Downloaded: {humanize(action.downloaded)}
Speed: {humanize(action.speed)}
Estimate: {action.estimate}
Elapsed Time: {action.elapsed_time}
Percentage: {action.percentage}
"""
        )

		if action.is_finished:
			break

		await asyncio.sleep(1)

asyncio.run(test())

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyFunloader-1.0.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file pyFunloader-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyFunloader-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyFunloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0db402b891a69967b2b8def6519ecacb46d47c11f27851b48f256ec469dba417
MD5 afae04613f0aa68c654735be0f070f33
BLAKE2b-256 b027516fc17b2ad9e3363b20dbe900fc7890259f37fd128088e15eed9129beb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page