This project has been archived by its maintainers, and is no longer receiving any updates.
Amazon CodeGuru JupyterLab Extension
Amazon CodeGuru extension for JupyterLab and SageMaker Studio. This extension runs scans on your notebook files and provides security recommendations and quality improvements to your code.
Requirements
- JupyterLab >= 3.0
Install
pip install amazon_codeguru_jupyterlab_extension
Uninstall
pip uninstall amazon_codeguru_jupyterlab_extension
Development
Prerequisites
Ensure the following dependencies are available in your environment.
- Python >= 3.8
- JupyterLab >= 3.0
- NodeJS >= 18
Alternatively, you can create a conda virtual environment with the following commands:
conda env update --file binder/environment.yml
conda activate amazon-codeguru-extension-demo
Manual Setup
- Install the Python package in development mode.
pip install -e .
- Link the extension with JupyterLab.
jupyter labextension develop . --overwrite
- Build the Typescript source.
jlpm build
# or
jlpm watch # automatically rebuild changes
- Start the JupyterLab server
jupyter lab
Quick Setup
Run the following command to quickly build and install the extension.
python3 binder/postBuild
Release
This extension can be distributed as a Python package. First, install build dependencies:
pip install build twine hatch
Bump the version using hatch. By default this will create a tag.
hatch version <new-version>
To generate a new Python source package (.tar.gz) and the binary package (.whl) in the dist/ directory, run the following command:
python -m build
Then to upload the package to PyPI, run the following command:
twine upload dist/*
Security
See SECURITY for more information.
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for amazon-codeguru-jupyterlab-extension 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| amazon_codeguru_jupyterlab_extension-1.1.1.tar.gz | 2.3 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amazon_codeguru_jupyterlab_extension-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 MB
Release files / amazon_codeguru_jupyterlab_extension-1.1.1.tar.gz
| Download URL | amazon_codeguru_jupyterlab_extension-1.1.1.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddf2069f6183decc041ba9302097a30409ef632bdc7e398943650acc7381ee94
|
|
BLAKE2b-256 checksum How to use checksums |
ebcf09ebe5f2b83949a19b976eab73c5b3bf55d1d547d9c7faf7b7c049a4c92d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / amazon_codeguru_jupyterlab_extension-1.1.1-py3-none-any.whl
| Download URL | amazon_codeguru_jupyterlab_extension-1.1.1-py3-none-any.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7643a5993a4e99cec9e4cee370e0382403b9f104b90162bf39be4f160b3a718
|
|
BLAKE2b-256 checksum How to use checksums |
e13a9e563170d32023fdc02a32cc00e6ffeec4e9cf75c33496274f2f9157c88c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Security for amazon-codeguru-jupyterlab-extension 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.