bs-python-utils 0.8.5
Utilities programs for my Python code
Requires Python: >=3.12

## bs-python-utils

![GitHub last commit](https://img.shields.io/github/last-commit/bsalanie/bs-python-utils)

<!-- [![Release](https://img.shields.io/github/v/release/bsalanie/bs-python-utils)](https://img.shields.io/github/v/release/bsalanie/bs-python-utils) -->

[![Build status](https://img.shields.io/github/actions/workflow/status/bsalanie/bs-python-utils/main.yml?branch=main)](https://github.com/bsalanie/bs-python-utils/actions/workflows/main.yml?query=branch%3Amain) <!-- [![codecov](https://codecov.io/gh/bsalanie/bs-python-utils/branch/main/graph/badge.svg)](https://codecov.io/gh/bsalanie/bs-python-utils) --> <!-- [![Commit activity](https://img.shields.io/github/commit-activity/m/bsalanie/bs-python-utils)](https://img.shields.io/github/commit-activity/m/bsalanie/bs-python-utils) --> [![License](https://img.shields.io/github/license/bsalanie/bs-python-utils)](https://img.shields.io/github/license/bsalanie/bs-python-utils)

**My Python utilities**.

- **Github repository**: <https://github.com/bsalanie/bs-python-utils/>
- **Documentation** <https://bsalanie.github.io/bs-python-utils/>

### Release notes

#### 0.8.5 (January 25, 2026)
Added colored logger.

#### 0.8.2 (October 26, 2025)
Included grids for sparse Gaussian integration.

#### 0.8.1 (October 18, 2025)
Deleted extra examples scripts.

#### 0.8 (October 14, 2025)
Switched to `uv` for project management. Used Codex to clean up the code and generate more tests. Added the `examples` subdirectory.

#### 0.7 (June 18, 2024)
Added `make_lowertri` in `bsnputils`, and some utility code in `bs_plots`.

#### 0.6.4 (November 26, 2023)
Moved to Altair 5.0; made timing optional in `bs_opt`.

#### 0.6.3 (November 26, 2023)
Updated statsmodels dependency.

#### 0.6.1 and 0.6.2 (November 18, 2023)
Added a Matplotlib plot for discrete choice models, a boxplot for Altair, and a density plot for Seaborn.

#### 0.6 (November 9, 2023)

Added matrix heatmap plot in Altair and Streamlit utility code.

#### 0.5.5 (October 23, 2023)

Added `fstring***` in `bsutils`.

#### 0.5.2 (August 16, 2023)

Added two interpolation routines from values at the Chebyshev nodes in `chebyshev` module.

#### 0.5.1 (August 14, 2023)

Added two functions to draw random samples in `bsstats` module.

#### 0.5 (August 7, 2023)

Added 1-dimensional root finding in `chebyshev` module.

#### 0.4.2 (August 2, 2023)

Updated the docs.

#### 0.4.1 (July 23, 2023)

Only print if verbose in bivariate quantiles.

#### 0.4 (July 22, 2023)

Added bivariate quantiles and ranks à la optimal transportation.

#### 0.3 (July 21, 2023)

Added in Numpy utils a function to set upper and lower triangle to a scalar;
and `minimize_free` in `bs_opt`.

#### 0.2 (July 17, 2023)

Fixed printing in accelerated gradient descent.

#### 0.1 (June 20, 2023)

Added `grid_function` and the `chebyshev` module.

#### 0.0.6 (May 9, 2023)

Improved docs.

#### 0.0.5 (May 8, 2023)

Added `final_s` in `bsutils`.

#### 0.0.4 (May 2, 2023)

Added Legendre polynomials and quantile routines in `bsnputils`.

#### 0.0.3 (April 24, 2023)

Satisfied mypy.

#### 0.0.2 (April 24, 2023)

Fixed main PyPI page.