Skip to main content

S3-compatible object storage abstraction for DEML Platform (RustFS, S3)

Project description

DEML Storage

S3-compatible object storage abstraction for DEML Platform.

Installation

pip install deml-storage

Usage

from deml_storage import StorageClient

# With environment variables (RUSTFS_ENDPOINT, RUSTFS_ACCESS_KEY, RUSTFS_SECRET_KEY)
client = StorageClient()

# Upload
client.upload_file("reports/2024-07-11/report.pdf", pdf_bytes)

# Download
data = client.get_file("reports/2024-07-11/report.pdf")

# Delete
client.delete_file("reports/2024-07-11/report.pdf")

Features

  • RustFS/S3-compatible backend
  • Pluggable endpoint configuration
  • UUID-safe key handling
  • Used for analytics exports and report storage

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

deml_storage-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

deml_storage-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file deml_storage-0.1.0.tar.gz.

File metadata

  • Download URL: deml_storage-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deml_storage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ce3e6d7ed21642e3fa08ef1640781e2358c411e0b7a6ee491178394ffed9a43
MD5 d5cb2e9a197f70c551bcc02ef0f04142
BLAKE2b-256 3c4d3bc7ce30e360ea8bb80dc0da1f97c4a50e6744478e128e06fa5ee98f7553

See more details on using hashes here.

File details

Details for the file deml_storage-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: deml_storage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deml_storage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66ea43fa14e4d0819d80df345a56a420eefdf863924ed7bf36a563f2443ae950
MD5 08aa2fc89886fd88ebc038dcb50e0a28
BLAKE2b-256 e816abc2555f19b0ff1e9205e4f99dcf1e4f9a99a1217830bffbef586aecfe14

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