Skip to main content

Library and utilities for interfacing wtih S3

Project description

S3Lib

Python library and collection of command line programs for interfacing with S3. Uses buffering and fixed memory usage, where possible, so that operations on large buckets and objects are safe and easy.

Installation

pip install s3lib

Configuration

Reads configuration file at ~/.s3

Config file contents:

<AWS ACCESS TOKEN>
<AWS SECRET KEY>

Utilities

s3ls
usage: Program lists all the objects in an s3 bucket. Works on really big buckets
       [-h] [--host HOST] [--port PORT] [--output OUTPUT] [--creds CREDS]
       [--mark MARK] [--prefix PREFIX] [--batch BATCH]
       [bucket]
s3get
usage: Program lists all the objects in an s3 bucket. Works on really big buckets
       [-h] [--host HOST] [--port PORT] [--output OUTPUT] [--creds CREDS]
       [--mark MARK] [--prefix PREFIX] [--batch BATCH]
       bucket key
s3cp
usage: Program copies an object from one location to another
       [-h] [--host HOST] [--port PORT] [--creds CREDS]
       [--header [HEADERS [HEADERS ...]]]
       src_bucket src_object dst_bucket dst_object
s3head
usage: Program lists all the objects in an s3 bucket. Works on really big buckets
       [-h] [--host HOST] [--port PORT] [--json] [--creds CREDS]
       bucket objects [objects ...]
s3put
usage: Program puts an object into s3 
       [-h] [--host HOST] [--port PORT]
       [--creds CREDS]
       [--header [HEADERS [HEADERS ...]]]
       bucket object file
s3rm
usage: Program deletes s3 keys.
       [-h] [--host HOST] [--port PORT]
       [--creds CREDS] [-v] [--batch BATCH]
       bucket objects [objects ...]
s3sign
usage: Sign an S3 form.
       [-h] [--creds CREDS] file

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

S3Lib-1.6.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

S3Lib-1.6.0-py3.7.egg (18.9 kB view details)

Uploaded Source

File details

Details for the file S3Lib-1.6.0.tar.gz.

File metadata

  • Download URL: S3Lib-1.6.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for S3Lib-1.6.0.tar.gz
Algorithm Hash digest
SHA256 8484482a0780a90235468f8717dbe7a8ffa0fcfa98631a50a4d57c5ba041323c
MD5 a0facee78992eae912862d9fe6e3311d
BLAKE2b-256 c4bd735ab797538e6b7e5a55e26fbe1b2ebbb26a6946e60a704f3b093cce53c7

See more details on using hashes here.

File details

Details for the file S3Lib-1.6.0-py3.7.egg.

File metadata

  • Download URL: S3Lib-1.6.0-py3.7.egg
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for S3Lib-1.6.0-py3.7.egg
Algorithm Hash digest
SHA256 ede6efb65fa421fb46f42df055bd1fb5cb5e866575964318efb0e9f35b5b1ed4
MD5 ddf5bbb65bfb79b63639d6debb00635e
BLAKE2b-256 4d64a237d6f2317f86584b1a8dd73b19434cc687dac17b9ead56bd10c9b0373f

See more details on using hashes here.

Supported by

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