Skip to main content

aioseaweedfs

This is an asyncio client for seaweedfs.

Installation

pip install aioseaweedfs

Basic Usage

import aioseaweedfs

async def main():
    master = aioseaweedfs.Master()

    volume, file_ids = await master.get_assign_key()

    await volume.post(file_ids[0], "File Content")

    content = await volume.get(file_ids[0])

Filer Usage

filer = aioseaweedfs.Filer()

await filer.post("/some/path/to/file.txt", "file contents", content_type="text/plain")

contents = await filer.get("/some/path/to/file.txt")
# contents will always be bytes

See Documentation

Metadata

Release files for aioseaweedfs 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioseaweedfs 0.3.1
File Size Uploaded
aioseaweedfs-0.3.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioseaweedfs 0.3.1
File Interpreter ABI Platform
aioseaweedfs-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / aioseaweedfs-0.3.1.tar.gz

Download URL aioseaweedfs-0.3.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ac9c376b4365a23cf1ecb76d1fe66f00ee7c155e43a403669ae3fd2b3a021713
BLAKE2b-256 checksum
How to use checksums
f1dd2387cbaf5c498e2ce0f36024d8ac938e055c664466ef67fd99b4841f5199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / aioseaweedfs-0.3.1-py3-none-any.whl

Download URL aioseaweedfs-0.3.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6bb7b63d17edc36df3b38fa15895bdde28ac3bcf297ce05eb0cdeb50961c72c
BLAKE2b-256 checksum
How to use checksums
720e85eb9e5aef569842b6885adbff3614033096ec38fc7acb6ad3e6d2c7d49f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page