Access Parquet files in S3 via S3 Select
Project description
API
S3Access: s3 = S3Access()
s3.select
Exposes S3 Select in a usable manner.
s3.ls
s3.ls_path
S3Path: p = S3Path("s3://bucket/key/part=value")
p.with_params(foo=7, bar=29)
👉 s3://other/key/part=value/foo=7/bar=29
Appends or replaces the key/value pairs in order as given.
p.with_params(foo=7, part='else', bar=29)
👉 s3://other/key/part=else/foo=7/bar=29
If a partition is already mentioned in the path, it is replaced with the value.
p.with_bucket('other')
👉 s3://other/key/part=value
Replaces the bucket name of the S3 url.
p.with_key('path')
👉 s3://bucket/path
Replaces the prefix/key/path component of this S3 url.
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
s3access-0.9.0.tar.gz
(18.8 kB
view hashes)
Built Distribution
s3access-0.9.0-py3-none-any.whl
(22.1 kB
view hashes)