|
Krita Source Code Documentation
|
Classes | |
| class | PluginDownloadError |
Functions | |
| download_plugin (url, dest_dir) | |
| get_zipurl (url) | |
| get_zipurl_github (base_path) | |
| is_zip (url) | |
| plugin_importer.plugin_downloader.download_plugin | ( | url, | |
| dest_dir ) |
Download a plugin from a given URL into the given directory. ``url`` may either point directly to a zip location (on any site), or to a github repository. Returns full path of the downloaded zip file.
Definition at line 75 of file plugin_downloader.py.
References plugin_importer.plugin_downloader.get_zipurl().
| plugin_importer.plugin_downloader.get_zipurl | ( | url | ) |
Guess the zip location from a given URL.
Definition at line 61 of file plugin_downloader.py.
References plugin_importer.plugin_downloader.get_zipurl_github(), and plugin_importer.plugin_downloader.is_zip().
| plugin_importer.plugin_downloader.get_zipurl_github | ( | base_path | ) |
Guess the zip location from a github url
Definition at line 50 of file plugin_downloader.py.
| plugin_importer.plugin_downloader.is_zip | ( | url | ) |
Check if the given URL is a direct link to a zip file
Definition at line 31 of file plugin_downloader.py.