Skip to main content

Use AWSume in Jupyter

Project description

JAWSume

PyPi CI/CD

Use AWSume in Jupyter to access AWS resources.

Installation

$ pip install jawsume

Usage

from jawsume import jawsume

jawsume("<profile-name>")

You will be prompted for the MFA token.

Just like AWSume, this will set the following environment variables:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_SESSION_TOKEN
  • AWS_REGION
  • AWSUME_PROFILE
  • AWSUME_EXPIRATION

Non-interactive mode

You can also directly pass the MFA code:

jawsume("<profile-name>", "<mfa-token>")

What can I do then?

You can then for instance read Apache Parquet files from Amazon S3.

import pandas as pd

df = pd.read_parquet("s3://<bucket-name>/<path-name>.parquet/")

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

jawsume-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

jawsume-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file jawsume-0.1.0.tar.gz.

File metadata

  • Download URL: jawsume-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for jawsume-0.1.0.tar.gz
Algorithm Hash digest
SHA256 409d38044e7b35502606e336a328b6d0a07620f16b9cde3616203f06e38442e7
MD5 c5394ffa4f420bbd97bde0bca220924c
BLAKE2b-256 39379f706d8f90d227d2c0d52b35fe4e11066e464642f300c443440a02c1ed2c

See more details on using hashes here.

File details

Details for the file jawsume-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jawsume-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for jawsume-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee2b8ec95e21bc40865399963ab2f8774f075de22bfda79d6e0068ffcffa803
MD5 28c97a7fd0e1505fa8de1963623d8151
BLAKE2b-256 2ac67d580d9352ab92659d86ac8159c92e45ad00b5c6185abdcc72ecef080a3d

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