Skip to main content

Utility functions for the Rubin Science Platform

Project description

lsst-rsp

This Python package provides utility functions for the Rubin Science Platform, primarily for use within the Notebook Aspect. These utility functions are documented in the Notebook aspect documentation for the Rubin Science Platform.

Installation

The package can be installed from PyPI:

pip install lsst-rsp

However, most functionality of lsst-rsp is only useful inside a Rubin Science Platform JupyterLab container. This package is pre-installed in the standard containers.

Development

The best way to start contributing to lsst-rsp is by cloning this repository, creating a virtual environment, and running the make init command:

git clone https://github.com/lsst-sqre/lsst-rsp.git
cd lsst-rsp
make init

You can run tests with tox:

tox run

To learn more about the individual environments:

tox list

Developing on the RSP

The LSST kernel in the RSP sciplat-lab image already has a release version of lsst-rsp included. If you want to use a development version, you can install a newer version locally in your home directory. In a terminal session, run the following commands:

mkdir -p ${HOME}/src
cd ${HOME}/src
git clone https://github.com/lsst-sqre/lsst-rsp
cd lsst-rsp
pip install .

You can now import functions from lsst.rsp in a notebook and should see the new version of the code.

If you already imported functions from lsst.rsp in your session, you will need to restart your kernel before the new version of lsst.rsp will be visible. If you make any additional local changes, you will need to restart the kernel to see those changes.

Uninstalling a development version from the RSP

Once you have installed a development version, that version will shadow the release version until you explicitly uninstall it. You will therefore want to uninstall the development version once you're done testing. To do that, run the following in a terminal window:

pip uninstall lsst-rsp

You will be prompted to confirm the removal of your local version. As before, after running this command, you will need to restart your kernel to return to using the released version.

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

lsst_rsp-0.13.2.tar.gz (130.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lsst_rsp-0.13.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file lsst_rsp-0.13.2.tar.gz.

File metadata

  • Download URL: lsst_rsp-0.13.2.tar.gz
  • Upload date:
  • Size: 130.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lsst_rsp-0.13.2.tar.gz
Algorithm Hash digest
SHA256 5524cf58ebe920c5800ffacf452020c2b97e42e86072d764fdecaa4818962b94
MD5 bcb3d7be083aaa4bd99681ce168f359e
BLAKE2b-256 89d28f8ddb4e6589ad7ad5734d36255e81c2ad70708663c9247707238e748ded

See more details on using hashes here.

File details

Details for the file lsst_rsp-0.13.2-py3-none-any.whl.

File metadata

  • Download URL: lsst_rsp-0.13.2-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lsst_rsp-0.13.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5ca75f42b96c33faf5e7c511797d8f5028274fc2316c4e15d8e35250d7b7563
MD5 acb5f2999285b5479631aa3d8f11477e
BLAKE2b-256 94900dbc7c03a35740df457080bda23e912976b7d39796b0723d44aaaf424e88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page