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.2.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distributions

S3Lib-1.2.2-py3.7.egg (17.5 kB view details)

Uploaded Source

S3Lib-1.2.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

S3Lib-1.2.2-py2.7.egg (17.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: S3Lib-1.2.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for S3Lib-1.2.2.tar.gz
Algorithm Hash digest
SHA256 1c8d8db52ef114a7586f38b2989d8bd8551b4643ba3f3e6e8b6c85b3785ed34b
MD5 1b90d9261d5efbf3be2e9a6ede9c5a98
BLAKE2b-256 bfa8fd1e0357037144cf3578f29a3ee2a0f4c04dea8cd1adfb17c72febb61e3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: S3Lib-1.2.2-py3.7.egg
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for S3Lib-1.2.2-py3.7.egg
Algorithm Hash digest
SHA256 390585d58c72421919a80a1a347d70542b1129457ec2be1922f850923a84cd25
MD5 1979fe4252123f94b1ac2c786247828a
BLAKE2b-256 80d7e0c18b59378f23da6ee89f73bebaaadeb1c56e04bdac905054abe66f8892

See more details on using hashes here.

File details

Details for the file S3Lib-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: S3Lib-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for S3Lib-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14a8e54a7db84cc73156229e8e4b024efb65c2260ce7897b265106d546eb4e35
MD5 f1c7c86271002292ffb453f5f0095f00
BLAKE2b-256 3cc9003492ba06a628f17e3b54bbbc44f9ee75de928eefebaf3e256567f2ad0b

See more details on using hashes here.

File details

Details for the file S3Lib-1.2.2-py2.7.egg.

File metadata

  • Download URL: S3Lib-1.2.2-py2.7.egg
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for S3Lib-1.2.2-py2.7.egg
Algorithm Hash digest
SHA256 9b4fe9277c8a535f416161c2d220e321b5bbe75f38f1697b2399958dfa62222e
MD5 8fcf47e7b91f9f32c526c37caad9673b
BLAKE2b-256 9d9f1044b4978292515c4b9cb72d86467fefcc4271e635afbf5e63a1be025ece

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