JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, **kwargs) |
def | __str__ (self) |
def | printRequest (self, r) |
def | verifyHash (self) |
def | get (self) |
def | download (self) |
def | extract (self) |
def | save (self, r) |
Static Public Attributes | |
int | MB = 1024*1024 |
int | BUFSIZE = 10*MB |
Definition at line 13 of file download_data.py.
def download_data.Downloader.__init__ | ( | self, | |
** | kwargs | ||
) |
Definition at line 17 of file download_data.py.
References download_data.Downloader._extractTo, download_data.Downloader._filename, download_data.Downloader._name, download_data.Downloader._saveTo, download_data.Downloader._sha, and download_data.Downloader._url.
def download_data.Downloader.__str__ | ( | self | ) |
Definition at line 25 of file download_data.py.
References download_data.Downloader._name.
def download_data.Downloader.download | ( | self | ) |
Definition at line 93 of file download_data.py.
References download_data.Downloader._url, download_data.Downloader.printRequest(), and download_data.Downloader.save().
Referenced by download_data.Downloader.get().
def download_data.Downloader.extract | ( | self | ) |
Definition at line 101 of file download_data.py.
References download_data.Downloader._extractTo, download_data.Downloader._filename, and download_data.Downloader._saveTo.
Referenced by download_data.Downloader.get().
def download_data.Downloader.get | ( | self | ) |
Definition at line 55 of file download_data.py.
References download_data.Downloader._filename, download_data.Downloader._name, download_data.Downloader._saveTo, download_data.Downloader._url, download_data.Downloader.download(), download_data.Downloader.extract(), download_data.GDrive(), and download_data.Downloader.verifyHash().
def download_data.Downloader.printRequest | ( | self, | |
r | |||
) |
Definition at line 28 of file download_data.py.
References demo.int, and download_data.Downloader.MB.
Referenced by download_data.Downloader.download().
def download_data.Downloader.save | ( | self, | |
r | |||
) |
Definition at line 115 of file download_data.py.
References download_data.Downloader._filename, and download_data.Downloader.BUFSIZE.
Referenced by download_data.Downloader.download().
def download_data.Downloader.verifyHash | ( | self | ) |
Definition at line 37 of file download_data.py.
References download_data.Downloader._filename, download_data.Downloader._saveTo, download_data.Downloader._sha, and download_data.Downloader.BUFSIZE.
Referenced by download_data.Downloader.get().
|
static |
Definition at line 15 of file download_data.py.
Referenced by download_data.Downloader.save(), and download_data.Downloader.verifyHash().
|
static |
Definition at line 14 of file download_data.py.
Referenced by download_data.Downloader.printRequest().