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.
Metadata
Release files for lsst-rsp 1.0.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 | |
|---|---|---|---|
| lsst_rsp-1.0.1.tar.gz | 171.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lsst_rsp-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 192.3 kB
Release files / lsst_rsp-1.0.1.tar.gz
| Download URL | lsst_rsp-1.0.1.tar.gz |
|---|---|
| Size | 171.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26b37f35681f1dd3b9e18b42f20fc5ba7259352a10683f3e452c0406eebbf1a4
|
|
BLAKE2b-256 checksum How to use checksums |
2cdd476960e2c74549bd443b1102d16cf2bcd70364801a8a4e3131ab234601e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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}
|
Release files / lsst_rsp-1.0.1-py3-none-any.whl
| Download URL | lsst_rsp-1.0.1-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f150fa844481fb4581075e9b7710b7198659716eca92125a8dacb2ff286cf83
|
|
BLAKE2b-256 checksum How to use checksums |
40667be883ae7351a6bd8b6ebc2cfbd652e813a63330eef1b4c78103db6f5519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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}
|