Skip to main content

This package will allow an easier interaction with s3 buckets.

Project description

1.1.1

  • Features
    • Remove boto3 version

Example of use:

Upload files

# imports
import s3simplemanager


s3 = S3SimpleManager(ssl_verification=False, bucket="s3_bucket_online", url="http://example.url.com/bucket", key_id="12345678", key_value="87654321")
s3.upload_files("example_path_local_file", "example_path_bucket_file")
for object in s3.list_files("example_path_bucket_file"):
    print(object)

List files when we have a know location

# imports
import s3simplemanager


s3 = S3SimpleManager(ssl_verification=False, bucket="s3_bucket_online", url="http://example.url.com/bucket", key_id="12345678", key_value="87654321")
files = s3.list_files("main_folder/sub_folder")
for file in files:
    print(file)

List files when we don't know the location

# imports
import s3simplemanager


s3 = S3SimpleManager(ssl_verification=False, bucket="s3_bucket_online", url="http://example.url.com/bucket", key_id="12345678", key_value="87654321")
files = s3.list_files()
for file in files:
    print(file)

Delete files

# imports
import s3simplemanager


s3 = S3SimpleManager(ssl_verification=False, bucket="s3_bucket_online", url="http://example.url.com/bucket", key_id="12345678", key_value="87654321")
s3.delete_files(["main_folder_one/sub_folder_one/file_one.txt", "main_folder_two/sub_folder_two/file_two.txt"])

Project details


Download files

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

Source Distribution

s3simplemanager-1.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

s3simplemanager-1.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file s3simplemanager-1.1.1.tar.gz.

File metadata

  • Download URL: s3simplemanager-1.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for s3simplemanager-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9b6932a313462cfd01cb05dc35e4574895f1a924f8b21e8618781b35d0ea4452
MD5 f1be7f16be8d7ffa6721d00e3f0fc481
BLAKE2b-256 1f9348022f89192bda1d5f3ae39a18410be92c265900eb62fd2ddbb9cc8fd4b4

See more details on using hashes here.

File details

Details for the file s3simplemanager-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for s3simplemanager-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9859ffb7550d19a20da601018eebf324d84a1771b0259b0de338e35753b6bb2e
MD5 c78c286e72fd63720c156ed96c516dc1
BLAKE2b-256 4a59d8d55ddc1838f8addccd8cb3eeec111ae0ff309d11319bacc45e4fafa5c6

See more details on using hashes here.

Supported by

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