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.dev4.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.dev4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_storage_file-0.3.0.dev4.tar.gz
Algorithm Hash digest
SHA256 4317099d7abb874244bc798e1c066bed021c603e5fa0f6a33f3e4e2cb04022b5
MD5 c346726b2be31fdb998a49f8cc00f3a1
BLAKE2b-256 3b489b6c070ac3c9a1f5cd278fa74d3536b313b60fd213ab45e11bbddd3e57bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_storage_file-0.3.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 50639aa78eabf2da50ff977f98c6fe4e859c1657ec95f25782d5af3120bbffc1
MD5 8b9d65cfc5c18eeb9dc0e0016b36c371
BLAKE2b-256 1abae8fec31b94f6b034e0c3d1d2d617751a531f5dcd0031896791722ba005d2

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