Skip to main content

Glue Interactive Sessions Jupyter kernel that integrates almost anywhere Jupyter does including your favorite IDEs.

Project description

Glue Interactive Sessions Jupyter kernel

Glue Interactive Sessions Jupyter kernel enables you to use AWS Glue Interactive Sessions from your favorite IDEs. This kernel integrates almost anywhere Jupyter does including your favorite IDEs. Documentation on how to install and use the kernel can also be found here.

Installation

  1. Use the following to install the kernel on your machine:

    The command, install-glue-kernels, installs the jupyter kernelspec for both pyspark and spark kernels.

    pip3 install --upgrade jupyter boto3 aws-glue-sessions

    install-glue-kernels

  2. Make sure your IAM role have permissions to run Glue https://docs.aws.amazon.com/glue/latest/dg/set-up-iam.html

Getting Started

Using the kernel via a local Jupyter Notebook

To start a local Jupyter Notebook, complete the following steps.

  1. Run the following command to launch Jupyter Notebook.

    jupyter notebook

  2. Choose New, and then choose one of the AWS Glue kernels to begin coding against AWS Glue.

Using the kernel via other IDEs

You may also use this kernel via VSCode or other IDEs that support Jupyter kernels. To set up the Glue Interactive Sessions kernel for Visual Studio Code follow these instructions.

ChangeLog

v1.0.5 (2024-04-19)

  • New magic %timeout for configuring 'Timeout' parameter for Session.
  • New magic %reconnect, Customers can use %reconnect and reconnect to any of their live Session.

v1.0.4 (2023-12-01)

Added support for inferring region from AWS_REGION environment variable.

v1.0.3 (2023-11-15)

Added support for handling special characters in owner tag.

v1.0.2 (2023-10-16)

There is no change in customer behavior with this kernel version.

v1.0.1 (2023-10-13)

There is no change in customer behavior with this kernel version.

v1.0.0 (2023-09-05)

  • Kernel defaults to Glue version 4.0 if a default Glue version wasn’t specified.
  • New magics %session_type , %%assume_role, %%tags
  • %list_sessions now also displays session status and creation time.
  • Support for additional visualizations through %matplotlib magic
  • Configurations can now be provided through magics, environment variables and AWS config files.
  • Fix for VSCode startup issue

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

aws-glue-sessions-1.0.5.tar.gz (77.3 kB view hashes)

Uploaded Source

Built Distribution

aws_glue_sessions-1.0.5-0919d3b-py2.py3-none-any.whl (96.7 kB view hashes)

Uploaded Python 2 Python 3

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