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
Release history Release notifications | RSS feed
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.1.tar.gz
(8.0 kB
view details)
File details
Details for the file S3Lib-1.6.1.tar.gz
.
File metadata
- Download URL: S3Lib-1.6.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104623d1ee437f4b7e8b0cf1aa99cf76cbffe9e0aba6f47fa794f1224b282e6d |
|
MD5 | c6ca62e4e40b21eb1db076e875f628e8 |
|
BLAKE2b-256 | 92b94bf6c322a933fe136af31c64d0e84462e6e286048c259e25adc209891424 |