deploy()¶
- audfactory.deploy(path, url, *, md5=None, sha1=None, sha256=None, parameters={}, verbose=False)[source]¶
Deploy local file as an artifact.
- Parameters
path (
str
) – local file pathurl (
str
) – path on Artifactorymd5 (
Optional
[str
]) – MD5 sum, will be calculated if not providedsha1 (
Optional
[str
]) – SHA1 hash, will be calculated if not providedsha256 (
Optional
[str
]) – SHA256 hash, will be calculated if not providedparameters (
Dict
) – attach any additional metadataverbose (
bool
) – show information on the upload process
- Return type
- Returns
URL of the artifact
- Raises
FileNotFoundError – if local file does not exist