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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_storage_file-0.3.0.dev2.tar.gz
Algorithm Hash digest
SHA256 766aa88ddfaf1361b96ca27c557706ce6cf6c237e9fd33b533dcd11fa64cd90a
MD5 c87272e1878090b0cb850d837a646145
BLAKE2b-256 fce978a13740b79cd924aa7f4c9ecd98243d2ae01e45c048dc534b5f4642663b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_storage_file-0.3.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 263ea70ec825702b230cde906be6f6d2b88143ad75f7d7c92b83d6b051cbf1c8
MD5 578e6e2b122e4f526c82c75693124228
BLAKE2b-256 994e7e6a53974103bd998e133a85f274f709e5fbee13f9eb0a92ca4a72ec49e5

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