Skip to main content

Filesystem storage adapter for Peagen

Project description

Swarmauri File Storage Adapter

Filesystem-based storage adapter for Peagen that stores artifacts on the local disk.

Installation

# pip install swarmauri_storage_file (when published)

Usage

from swarmauri_storage_file import FileStorageAdapter
import io

adapter = FileStorageAdapter(output_dir="/tmp/peagen")
uri = adapter.upload("example.txt", io.BytesIO(b"hello"))
print("Stored at", uri)

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

swarmauri_storage_file-0.3.0.dev3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

swarmauri_storage_file-0.3.0.dev3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_storage_file-0.3.0.dev3.tar.gz.

File metadata

File hashes

Hashes for swarmauri_storage_file-0.3.0.dev3.tar.gz
Algorithm Hash digest
SHA256 8ca141cea96b069d4c78c1c379f842ff2c507402989d61bcee699a172661d567
MD5 90a221ee684d4e656e4da80d55c72100
BLAKE2b-256 e740c94de2fb11a3dbe418a8409d2db5bcd31a1ac5e8702da830ecda01fa6c19

See more details on using hashes here.

File details

Details for the file swarmauri_storage_file-0.3.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_storage_file-0.3.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 a80f0f819abd2bbfb3db9473863413eafefc714e33551b0a9afa84488729b5ba
MD5 b0307581599273a58edee2435c6132f8
BLAKE2b-256 e8be20d370cf6d175f5c8e3eed09f2696c5cb5bd80e66df0a3500ac418df0807

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