Skip to main content

logo

An async and lightweight S3 client for uploading, downloading, and deleting files


Installation

pip install gads3

Usage

from gads3 import S3, Mimetype

s3 = S3(
    bucket="media",
    endpoint_url="http://localhost:9000",
    aws_access_key_id="S3_ACCESS_KEY",
    aws_secret_access_key="S3_SECRET_KEY",
)

await s3.upload(file=bytes, filename="filename", mimetype=Mimetype.jpeg storage="files")
await s3.delete(filename="filename", mimetype=Mimetype.jpeg storage="files")

Metadata

Release files for gads3 0.0.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 gads3 0.0.1
File Size Uploaded
gads3-0.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

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

Total release size: 8.1 kB

Release files / gads3-0.0.1.tar.gz

Download URL gads3-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3a50c64810a73b6dcf2eb46776eff187d4efb5a52113158d5a8d2c50900c8659
BLAKE2b-256 checksum
How to use checksums
78736d9cd41a2c5c5f14cab04d1ca4f59de6a4f63340dfee93c2e6945614697b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / gads3-0.0.1-py3-none-any.whl

Download URL gads3-0.0.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be1e8cab1364e0a0764b1c2724c1ac140325e0831e4c159b9f142a797a77d19c
BLAKE2b-256 checksum
How to use checksums
d1975fcf128ff51168123580231ab0866db59d8050f6a0742f04e1c60075068c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

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