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.7 (2024-09-06)

  • Fixed %%tags implementation for newly created sessions.

v1.0.6 (2024-05-23)

  • Removed glue_ray session type and related magics.

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.7.tar.gz (76.4 kB view details)

Uploaded Source

Built Distribution

aws_glue_sessions-1.0.7-29388fd-py2.py3-none-any.whl (95.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aws-glue-sessions-1.0.7.tar.gz.

File metadata

  • Download URL: aws-glue-sessions-1.0.7.tar.gz
  • Upload date:
  • Size: 76.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for aws-glue-sessions-1.0.7.tar.gz
Algorithm Hash digest
SHA256 aefda4cf865566eecaf52a3592a2e6685ed237c4bfa6ba9cb0300e06e4bf1bfb
MD5 bc61fc4aafc439bf488c7ba213fb06d5
BLAKE2b-256 2d35402a35693e452a163f276fec051865d1173d7ede6ef614def16ae4d16a5a

See more details on using hashes here.

File details

Details for the file aws_glue_sessions-1.0.7-29388fd-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for aws_glue_sessions-1.0.7-29388fd-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9cbaad30ab4a1f995a2fab6c6941f457de13e77b05f344674d8007df6ab0723e
MD5 52d70569e6bc22902871eb518e32df3a
BLAKE2b-256 37b2087d6406419b5110f7bc43a20d1eb3d461460b5e426cb5e7892ea7f80a28

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