Skip to main content

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


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 details)

Uploaded Source

Built Distribution

s3access-0.9.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file s3access-0.9.0.tar.gz.

File metadata

  • Download URL: s3access-0.9.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5

File hashes

Hashes for s3access-0.9.0.tar.gz
Algorithm Hash digest
SHA256 3594b12c3ab1b7583367e0b0a07d922e53d839f6539c8eacff0c2182dc4b426b
MD5 3ec9711b1e44f9dee632dbd6e7316371
BLAKE2b-256 698d0c50ba685414b33c142ace6d769e217c3b1af0a5873b37dcf3553c50b1ab

See more details on using hashes here.

File details

Details for the file s3access-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: s3access-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5

File hashes

Hashes for s3access-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0912d752b8e884d7fc45a95fad22fbceff79970522c526b93d58a853f00e24f
MD5 e243084faf1c7ccc6f4523f2327ed698
BLAKE2b-256 df951a90ff0f05ae839357342a2abf6de10a2903d84a27abc6842ece8af845d2

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