micropy.utils
micropy.utils
This module provides utility functions that are used within MicropyCli.
Functions
|
Creates a platform appropriate directory link. |
|
Ensure path exists and is a directory. |
|
Ensure a url is valid. |
|
Extract tarfile as bytes. |
|
Create Stub from local .py file. |
|
Wrap requests with a short cache. |
|
Determines Class that defined a given method. |
|
Retrieve package metadata from PyPi. |
|
Parse filename from url. |
|
Test if path is either a symlink or directory junction. |
|
Checks if the url can be downloaded from. |
|
Check if path is an existing directory. |
|
Check if micropy-cli update is available. |
|
Check if provided string is a url. |
|
Iterate requirements from a requirements.txt file. |
|
|
|
Search xml from url by node. |
|
Stream download with tqdm progress bar. |
Classes
|
"jsonschema wrapper for file validation. |