Skip to main content

acme-s3

Efficient operations on S3 with retries, progress tracking and parallel processing

Problem

Interactive with boto3 client can at times lack some features. This library aims to provide a more user-friendly interface to S3 operations.

Features

  • Multithreaded opeations for opeations on multiple files
  • Progress tracking for all operations
  • Retries for recoverable errors
  • Benchmarking tool to test the performance of the operations
  • Graceful error handling with useful messages

Dev environment

The project comes with a python development environment. To generate it, after checking out the repo run:

chmod +x create_env.sh

Then to generate the environment (or update it to latest version based on state of uv.lock), run:

./create_env.sh

This will generate a new python virtual env under .venv directory. You can activate it via:

source .venv/bin/activate

If you are using VSCode, set to use this env via Python: Select Interpreter command.

Example usage

as3 bench --bucket $TEST_AWS_BUCKET_NAME --prefix s3-benchmark

Project template

This project has been setup with acme-project-create, a python code template library.

Required setup post use

  • Enable GitHub Pages to be published via GitHub Actions by going to Settings-->Pages-->Source

  • Create release environment for GitHub Actions to enable uploads of the library to PyPi

  • Setup auth to PyPI for the GitHub Action implemented in .github/workflows/release.yml via Trusted Publisher uv publish doc

  • Once you create the python environment for the first time add the uv.lock file that will be created in project directory to the source control and update it each time environment is rebuilt

  • In order not to replicate documentation in docs/docs/index.md file and README.md in root of the project setup a symlink from README.md file to the index.md file. To do this, from docs/docs dir run:

    ln -sf ../../README.md index.md

Download files

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

Source Distribution

acme_s3-0.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

acme_s3-0.0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file acme_s3-0.0.1.tar.gz.

File metadata

  • Download URL: acme_s3-0.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.30

File hashes

Hashes for acme_s3-0.0.1.tar.gz
Algorithm Hash digest
SHA256 29c33a993002cea2dc7fcc1495f4b20455803aa766d0de957ba737656222c7ca
MD5 c2eddd5687feda063697265b25925555
BLAKE2b-256 ab656d1317bc3d4c5f62e5d975527f3353713bd98acae2438d8d69b4b177a065

See more details on using hashes here.

File details

Details for the file acme_s3-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: acme_s3-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.30

File hashes

Hashes for acme_s3-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fea2aea60c54254b9864f9257a1d1fb6788223686529f511734cd8df7c85c8c7
MD5 ae960bdb7a280720e577cb046344f6ac
BLAKE2b-256 b7e589d9cd74a7b43c7924d1cc75d15caef057f071ef350ffa8c8eea95922906

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