Skip to main content

S3 CRUD client

Pre-install

export S3_ENDPOINT_URL=[s3 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

pip install topmind-s3
from topmind_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')

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topmind-s3-3.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topmind_s3-3.0.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file topmind-s3-3.0.0.tar.gz.

File metadata

  • Download URL: topmind-s3-3.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for topmind-s3-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5dcfcd1b2d2a6404b087a5c68c52474f94486f3400f8b3f0e794e86082179a52
MD5 7a0acf8438d88e94e2ae938390d1bfa9
BLAKE2b-256 89603193318e74270a506e1d0c8cbded6000acda2591470c0105895881f393e8

See more details on using hashes here.

File details

Details for the file topmind_s3-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: topmind_s3-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for topmind_s3-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b9345d84ae79153f01129ef29c0d6ff6a403eb561036923a4542d8a2d031a76
MD5 cc81018561da5f64241357e7c804dadc
BLAKE2b-256 15093d67be88c3f445bbd5c4b1b250adbf441a9a7b6ad3845e415ad6fbae3a08

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 files

2.0.0

2 files

1.0.2

1 file

0.0.4

2 files

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page