Skip to main content

Stellarmesh Python 对象存储 SDK

直接访问 AWS S3/MinIO 的小型进程内客户端,同步使用 Boto3,异步使用 aioboto3。 不需要 Storage 服务。要求 Python 3.11+,Bucket 和项目凭据由业务部署准备。

pip install stellarmesh-objectstorage==0.1.0
from stellarmesh_objectstorage import Client, ClientConfig, StorageError

config = ClientConfig(bucket="example-documents", region="us-east-1")
try:
    with Client(config) as storage:
        result = storage.upload_bytes("hello.txt", b"hello", content_type="text/plain")
        print(result.etag)
except StorageError:
    raise

凭据默认使用标准 AWS 凭据链,也可以注入 Session;不要将项目长期凭据交给浏览器。 异步客户端使用 async with AsyncClient(config) as storage,对象流也必须使用上下文关闭。 单次上传限制 5 GiB,较大对象使用显式 Multipart;SDK 不管理业务上传会话或自动创建 Bucket。 写入超时或取消不代表服务端没有完成;ETag 是不透明值,不保证为 MD5。

完整接入、生命周期与验证边界见中文指南。

Metadata

Release files for stellarmesh-objectstorage 0.1.0

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

Source distribution (sdist)

Source distribution for stellarmesh-objectstorage 0.1.0
File Size Uploaded Provenance Actions
stellarmesh_objectstorage-0.1.0.tar.gz 19.4 kB With provenance Details for stellarmesh_objectstorage-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stellarmesh-objectstorage 0.1.0
File Interpreter ABI Platform Actions
stellarmesh_objectstorage-0.1.0-py3-none-any.whl Python 3 none any Details for stellarmesh_objectstorage-0.1.0-py3-none-any.whl

Total release size: 39.4 kB

Release files / stellarmesh_objectstorage-0.1.0.tar.gz

Download URL stellarmesh_objectstorage-0.1.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9782e3336f7b7e260e4cb9adfc84faf5b89f2848727dec8be061389dc51230b5
BLAKE2b-256 checksum
How to use checksums
c49ed0cc8965f96910d38e93f8ffc767da5d61dd6846a9e7a0abf688aba6bd86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / stellarmesh_objectstorage-0.1.0-py3-none-any.whl

Download URL stellarmesh_objectstorage-0.1.0-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
111be7bb6d1aed7ea508ca98be43816154786a73180d0169ebb5f8f6e6d07d02
BLAKE2b-256 checksum
How to use checksums
d5d0de42e87560fe7f53dc2b7fc96c3627cf34d519db3296c27bdb759f8fc958
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Security for stellarmesh-objectstorage 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stellarmesh_objectstorage-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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