lsst-utils 29.2025.2300__tar.gz → 29.2025.2500__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. {lsst_utils-29.2025.2300/python/lsst_utils.egg-info → lsst_utils-29.2025.2500}/PKG-INFO +1 -1
  2. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/doc/lsst.utils/CHANGES.rst +33 -0
  3. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/plotting/figures.py +6 -6
  4. lsst_utils-29.2025.2500/python/lsst/utils/version.py +2 -0
  5. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500/python/lsst_utils.egg-info}/PKG-INFO +1 -1
  6. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_matplotlib_figures.py +1 -1
  7. lsst_utils-29.2025.2300/python/lsst/utils/version.py +0 -2
  8. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/COPYRIGHT +0 -0
  9. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/LICENSE +0 -0
  10. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/MANIFEST.in +0 -0
  11. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/README.rst +0 -0
  12. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/doc/lsst.utils/index.rst +0 -0
  13. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/pyproject.toml +0 -0
  14. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/__init__.py +0 -0
  15. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/__init__.py +0 -0
  16. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/_packaging.py +0 -0
  17. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/argparsing.py +0 -0
  18. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/classes.py +0 -0
  19. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/db_auth.py +0 -0
  20. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/deprecated.py +0 -0
  21. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/doImport.py +0 -0
  22. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/inheritDoc.py +0 -0
  23. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/introspection.py +0 -0
  24. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/iteration.py +0 -0
  25. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/logging.py +0 -0
  26. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/packages.py +0 -0
  27. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/plotting/__init__.py +0 -0
  28. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/plotting/limits.py +0 -0
  29. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/plotting/publication_plots.py +0 -0
  30. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/plotting/rubin.mplstyle +0 -0
  31. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/py.typed +0 -0
  32. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/tests.py +0 -0
  33. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/threads.py +0 -0
  34. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/timer.py +0 -0
  35. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/usage.py +0 -0
  36. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst/utils/wrappers.py +0 -0
  37. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst_utils.egg-info/SOURCES.txt +0 -0
  38. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst_utils.egg-info/dependency_links.txt +0 -0
  39. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst_utils.egg-info/requires.txt +0 -0
  40. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst_utils.egg-info/top_level.txt +0 -0
  41. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/python/lsst_utils.egg-info/zip-safe +0 -0
  42. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/setup.cfg +0 -0
  43. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_argparsing.py +0 -0
  44. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_classes.py +0 -0
  45. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_db_auth.py +0 -0
  46. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_decorators.py +0 -0
  47. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_deprecated.py +0 -0
  48. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_doImport.py +0 -0
  49. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_executables.py +0 -0
  50. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_getPackageDir.py +0 -0
  51. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_getTempFilePath.py +0 -0
  52. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_import.py +0 -0
  53. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_inheritDoc.py +0 -0
  54. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_introspection.py +0 -0
  55. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_iteration.py +0 -0
  56. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_logging.py +0 -0
  57. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_ordering.py +0 -0
  58. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_packages.py +0 -0
  59. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_plotting_limits.py +0 -0
  60. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_threads.py +0 -0
  61. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_timer.py +0 -0
  62. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_usage.py +0 -0
  63. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_utils.py +0 -0
  64. {lsst_utils-29.2025.2300 → lsst_utils-29.2025.2500}/tests/test_wrappers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lsst-utils
3
- Version: 29.2025.2300
3
+ Version: 29.2025.2500
4
4
  Summary: Utility functions from Rubin Observatory Data Management for the Legacy Survey of Space and Time (LSST).
5
5
  Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
6
6
  License: BSD 3-Clause License
@@ -1,3 +1,36 @@
1
+ lsst-utils v29.1.0 (2025-05-22)
2
+ ===============================
3
+
4
+ New Features
5
+ ------------
6
+
7
+ - Added support for ``LSST_UTILS_DISABLE_TIMER`` environment variable to turn off the timing decorator to produce more useful profiling output. (`DM-34978 <https://rubinobs.atlassian.net/browse/DM-34978>`_)
8
+ - Added ``lsst.utils.argparsing.AppendDict`` which inherits from ``argparsing.Action``.
9
+ This utility for argument parsing enables multiple optional parameters in command line interfaces.
10
+ It receives ``key:value`` parameters and parses them to a dictionary. (`DM-46249 <https://rubinobs.atlassian.net/browse/DM-46249>`_)
11
+ - Added the name of the node on which the process is running to the ``obj.metadata`` written by the logger. (`DM-48671 <https://rubinobs.atlassian.net/browse/DM-48671>`_)
12
+ - * Added new ``lsst.utils.plotting.publication_plots``, which contains a ``set_rubin_plotstyle`` function for applying a standard matplotlib style to ensure consistency of plots across the project.
13
+ Also added the ``rubin.mplstyle`` file itself.
14
+ * Added a convenience function called ``get_band_dicts`` in ``lsst.utils.plotting.publication_plots`` to retrieve the band-dependent definitions of plotting colors, symbols, and linestyles. (`DM-49728 <https://rubinobs.atlassian.net/browse/DM-49728>`_)
15
+ - ``DbAuth`` now supports reading the credentials directly from a JSON string stored in an environment variable.
16
+ The default environment variable is ``LSST_DB_AUTH_CREDENTIALS`` and takes priority over reading from files. (`DM-49860 <https://rubinobs.atlassian.net/browse/DM-49860>`_)
17
+
18
+
19
+ API Changes
20
+ -----------
21
+
22
+ - ``DbAuth`` constructor now provides default values for path and environment variable name.
23
+ This avoids the need to specify the same values in each package that uses ``DbAuth``. (`DM-44862 <https://rubinobs.atlassian.net/browse/DM-44862>`_)
24
+
25
+
26
+ Miscellaneous Changes of Minor Interest
27
+ ---------------------------------------
28
+
29
+ - Modified ``lsst.utils.timer.time_this`` such that it can now return an object that will contain the duration and, potentially, memory usage when the context closes.
30
+ This allows for metrics to be gathered even if no log message is delivered.
31
+ As part of this a new ``force_mem_usage`` parameter has been added that will always calculate the (slow) memory statistics even if no log message was to be delivered. (`DM-50490 <https://rubinobs.atlassian.net/browse/DM-50490>`_)
32
+
33
+
1
34
  lsst-utils v29.0.0 (2025-03-24)
2
35
  ===============================
3
36
 
@@ -81,12 +81,12 @@ def get_multiband_plot_colors(dark_background: bool = False) -> dict:
81
81
  Mapping of the LSST bands to colors.
82
82
  """
83
83
  plot_filter_colors_white_background = {
84
- "u": "#0c71ff",
85
- "g": "#49be61",
86
- "r": "#c61c00",
87
- "i": "#ffc200",
88
- "z": "#f341a2",
89
- "y": "#5d0000",
84
+ "u": "#61A2B3",
85
+ "g": "#31DE1F",
86
+ "r": "#B52626",
87
+ "i": "#1600EA",
88
+ "z": "#BA52FF",
89
+ "y": "#370201",
90
90
  }
91
91
  plot_filter_colors_black_background = {
92
92
  "u": "#3eb7ff",
@@ -0,0 +1,2 @@
1
+ __all__ = ["__version__"]
2
+ __version__ = "29.2025.2500"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lsst-utils
3
- Version: 29.2025.2300
3
+ Version: 29.2025.2500
4
4
  Summary: Utility functions from Rubin Observatory Data Management for the Legacy Survey of Space and Time (LSST).
5
5
  Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
6
6
  License: BSD 3-Clause License
@@ -93,7 +93,7 @@ class PublicationPlotsTestCase(unittest.TestCase):
93
93
 
94
94
  def testMultibandPlotColors(self):
95
95
  bands_dict = get_band_dicts()
96
- self.assertEqual(bands_dict["colors"]["r"], "#c61c00")
96
+ self.assertEqual(bands_dict["colors"]["r"], "#B52626")
97
97
  self.assertEqual(bands_dict["colors_black"]["r"], "#ff7e00")
98
98
  self.assertEqual(bands_dict["symbols"]["r"], "v")
99
99
  self.assertEqual(bands_dict["line_styles"]["r"], "-.")
@@ -1,2 +0,0 @@
1
- __all__ = ["__version__"]
2
- __version__ = "29.2025.2300"