Skip to main content

S3 CRUD client

Pre-install

export S3_ENDPOINT_URL=[s3 amocrm.api compatible server]
export S3_BUCKET=[bucket name]
export S3_ACCESS_KEY_ID=[s3 key id]
export S3_SECRET_ACCESS_KEY=[s3 secret key]

Usage

pip3 install s3-talenttech-oss
from s3.client import Client

client = Client()

client.create_dir('dir')

client.create_file('dir/file.txt', 'qwerty')

content = client.read_file('dir/file.txt')

client.create_file('dir/file_another.txt', 'qwerty')

lst = client.bulk_read('dir')

print(lst)
>>> ['qwerty', 'qwerty']

client.delete_dir('dir')

client.upload_file(src, dst, print_progress=True)

Metadata

Release files for s3-talenttech-oss 0.0.10

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

Source distribution (sdist)

Source distribution for s3-talenttech-oss 0.0.10
File Size Uploaded
s3-talenttech-oss-0.0.10.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for s3-talenttech-oss 0.0.10
File Interpreter ABI Platform
s3_talenttech_oss-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / s3-talenttech-oss-0.0.10.tar.gz

Download URL s3-talenttech-oss-0.0.10.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
867d447de9eb98ff10529f914d604656c5507f89b9cd7915442fda30b53cda78
BLAKE2b-256 checksum
How to use checksums
915df88f4e5262b87a045311ba56f8c2a35df7a3725e1c776bdd60004284a0c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13

Release files / s3_talenttech_oss-0.0.10-py3-none-any.whl

Download URL s3_talenttech_oss-0.0.10-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec8e7b01c72f86c07b13063359ed505649bafbf73233678a5b7bb44a4b6c939a
BLAKE2b-256 checksum
How to use checksums
b08f44fbcbb625ed1037c211684fcabaa2419ab8c17ff900f4dd094d073d6199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.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