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.3.0.tar.gz (52.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.3.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lisa_artifacts-0.3.0.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.3.0.tar.gz
Algorithm Hash digest
SHA256 cb8a0b863841d59ed731e4df135037845a7c64c42aa9526b278addc44aad0c5a
MD5 85d247ad92f73d2b0700747dfd069984
BLAKE2b-256 b48934fe29c39c416d75eb83aa84ff0d6d213d08526ef91d137284ba270cceb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lisa_artifacts-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bd188f8618da6455aa45f25adb2c87a051030dd3181d33a5b2bd0d0f1d7de01
MD5 d90eb17d8a8361315ee0ba657fdeff44
BLAKE2b-256 cf270a21bb32cd8daff96e1d5034102f8ab31c1dab829d2759d759b1699cf386

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