Skip to main content

S3 Content Delivery tool

Project description

s3cd

S3 Content Delivery tool - CLI for uploading and copying static files/artifacts to S3

PyPI PyPI - Python Version

Coverage Quality Gate Status

Downloads GitLab stars GitLab last commit

Features

  • 📦 Upload directories recursively to S3 buckets maintaining structure
  • 🔄 Copy objects between S3 buckets without local download (server-side copy)
  • 🚀 Multipart upload support for large files
  • 📝 Automatic __info.json generation with GitLab CI/CD metadata
  • 🔐 Flexible authentication via environment variables or CLI flags
  • 🌐 Support for S3-compatible storage (MinIO, Yandex Object Storage, etc.)
  • 🎯 Path-style and virtual-hosted-style S3 addressing

Quick Start

export CDS_RELEASE_ID=$(uuidgen --time-v7)

export CDS_S3_ACCESS_KEY_ID="your-access-key"
export CDS_S3_SECRET_ACCESS_KEY="your-secret-key"
export CDS_S3_BUCKET="content-delivery-storage"

uvx s3cd upload ./dist

Environment

# Meta
export CDS_RELEASE_ID=$(uuidgen --time-v7)
# S3
export CDS_S3_ACCESS_KEY_ID="your-access-key"
export CDS_S3_SECRET_ACCESS_KEY="your-secret-key"
export CDS_S3_REGION="us-east-1"
export CDS_S3_ENDPOINT="https://s3.amazonaws.com"
export CDS_S3_ADDRESSING_STYLE="virtual"  # or "path"

Contributing

Issue Tracker: https://gitlab.com/rocshers/python/s3cd/-/issues
Source Code: https://gitlab.com/rocshers/python/s3cd

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

s3cd-0.0.7.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

s3cd-0.0.7-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file s3cd-0.0.7.tar.gz.

File metadata

  • Download URL: s3cd-0.0.7.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for s3cd-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a2b02aad8c1f43d356db60da4dd56d7a8467a1f945c2d3466db3413fc9ead84f
MD5 39ba0c3a10ab3dd97b42c3d669cb702b
BLAKE2b-256 7249fee502ff107fe98a3bf4d7df60982d723fbc9dc2c734988a1e4070cfe1ad

See more details on using hashes here.

File details

Details for the file s3cd-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: s3cd-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for s3cd-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 438a064e61bbe46f8199a50d6d6b8c2ccfdfdb4b3d5831d3b295e511f39fe89a
MD5 91284f5a848b3adde3cb457157a45749
BLAKE2b-256 5557774d34fe0d3e5d6f135ab961a8dab5532f84f8b6ac6cc179090f515b882e

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