Skip to main content

A library for managing object storage artifacts

Project description

LISA Artifacts

PyPI CI License Docs

A Python library for uploading and downloading artifacts to/from object storages using manifests.

Installation

Install using uv:

uv add lisa-artifacts

Quick Start

Set environment variables:

export ARTIFACTS_BUCKET=my-bucket
export ARTIFACTS_REMOTE_PREFIX=artifacts/ # optional
export ARTIFACTS_LOCAL_PREFIX=./local/ # optional

Create and use a manifest:

from lisa.artifacts import Artifact, Manifest

artifacts = [
    Artifact(name="model.pkl", path="models/model.pkl"),
    Artifact(name="data.csv", path="data/data.csv"),
]

manifest = Manifest.from_env(artifacts)
manifest.get()  # Download artifacts
manifest.store()  # Upload artifacts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lisa_artifacts-0.4.0.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lisa_artifacts-0.4.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file lisa_artifacts-0.4.0.tar.gz.

File metadata

  • Download URL: lisa_artifacts-0.4.0.tar.gz
  • Upload date:
  • Size: 67.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lisa_artifacts-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8a8e5b80e5ce17ee4ef94287d253aabc4e305a2c2de277df34454ef12bda4853
MD5 6c2e45e2d9bd5dcc47151dc19309c372
BLAKE2b-256 85b43c0fcbb608d42ce3ef69b7fd3c9c7b83df86791fb0fc9de86c9076d95181

See more details on using hashes here.

File details

Details for the file lisa_artifacts-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: lisa_artifacts-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lisa_artifacts-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79382fd859ead30eff98d24b1de9adfe3d52509483866090091ae4ead2f3aa69
MD5 1c463c8e3489366ed74a0c52069e8ec7
BLAKE2b-256 5d1d696c51e87e0f3b6ef846f5ac97fe3ab1f5d30c9f1ea9e07325e6c00981dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page