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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_storage_file-0.3.0.dev3.tar.gz.
File metadata
- Download URL: swarmauri_storage_file-0.3.0.dev3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ca141cea96b069d4c78c1c379f842ff2c507402989d61bcee699a172661d567
|
|
| MD5 |
90a221ee684d4e656e4da80d55c72100
|
|
| BLAKE2b-256 |
e740c94de2fb11a3dbe418a8409d2db5bcd31a1ac5e8702da830ecda01fa6c19
|
File details
Details for the file swarmauri_storage_file-0.3.0.dev3-py3-none-any.whl.
File metadata
- Download URL: swarmauri_storage_file-0.3.0.dev3-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a80f0f819abd2bbfb3db9473863413eafefc714e33551b0a9afa84488729b5ba
|
|
| MD5 |
b0307581599273a58edee2435c6132f8
|
|
| BLAKE2b-256 |
e8be20d370cf6d175f5c8e3eed09f2696c5cb5bd80e66df0a3500ac418df0807
|