phoenix_title wx.tools.wxget

wxget.py – wx Version of wget utility for platform that don’t have it already.

Usage:

wxget URL [DEST_DIR]

Where URL is a file URL and the optional DEST_DIR is a destination directory to download to, (default is to prompt the user). The –trusted option can be used to suppress certificate checks.

function_summary Functions Summary

download_file

Download and save a file specified by url to dest directory, with force will

download_pip

Try to download via pip.

download_urllib

Try to download via urllib.

download_wget

Try to download via wget.

get_docs_demo_url

Get the URL for the docs or demo.

get_save_path

Get the file save location.

main

Entry point for wxget.


Functions



download_file(url, dest=None, force=False, trusted=False)

Download and save a file specified by url to dest directory, with force will operate silently and overwrite any existing file.



download_pip(url, filename, force=False, trusted=False)

Try to download via pip.



download_urllib(url, filename)

Try to download via urllib.



download_wget(url, filename, trusted=False)

Try to download via wget.



get_docs_demo_url(demo=False)

Get the URL for the docs or demo.



get_save_path(url, dest_dir, force=False)

Get the file save location.



main(args=sys.argv)

Entry point for wxget.