Skip to content

giu1io/pythonista_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pythonista File Downloader

Custom Downloader for Pythonista with progressbar. Download a file and than keep it in Pythonista or open the file in another app.

Progressbar

Import this class in your python script: 'from progressBarView import progressBarView'.

If you use the UI Designer you have just to add a 'Custom View' to your main view, resize it like you want, than 'edit attributes' and set 'progressBarView' in 'Custom View Class'.

You can choose color, background, border size and color directly from the UI Designer in 'edit attributes'.

If you don't use the UI Designer just inizialize the view like any other custom view and set the proprieties.

Once you have setup the view you have to call the method 'setMaxValue(value)' to set the value that the script have to reach, than 'setCurrentValue(value)' sets the value currently reached. If you want to use this progressbar to display the status of a download take a look at 'file_downloader.py'.

About

Custom Downloader for Pythonista with progressbar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages