gamma-pytools
A collection of Python extensions and tools used in BCG GAMMA's open-source libraries.
What it is and what it does
gamma-pytools is a general-purpose utility library developed by BCG GAMMA that bundles machine learning, visualization, and API development helpers into a single package. It provides tools for simulating classification and regression data, constructing and rendering complex expressions, testing model fitting, and parallelizing work via joblib. The library also includes a lightweight MVC framework for rendering visualizations in different styles—matplotlib charts or plain text—and basic tooling for API development such as deprecation handling and runtime validation.
The package is designed as a reusable foundation for other libraries and projects that need common ML and visualization patterns. It depends on standard scientific Python packages (numpy, scipy, pandas, matplotlib) plus joblib for parallelization and typing utilities for modern Python type hints. With production-stable status and active maintenance, it targets Python 3.10+ on multiple operating systems.
Use it for:
- Build and test machine learning pipelines with fitted-object validation and data simulation utilities.
- Render visualizations in multiple formats (matplotlib or text) using a unified MVC framework.
- Parallelize computationally intensive tasks across cores using joblib-based utilities.
- Develop APIs with built-in deprecation warnings, runtime validation, and documentation support.
- Generate and manipulate complex mathematical or symbolic expressions with indented string rendering.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A collection of machine learning and visualization utilities including API development tools, data simulation, expression building, model fitting helpers, parallelization via joblib, and a lightweight MVC framework for rendering visualizations in multiple formats.
Yes, if you need a well-maintained collection of ML and visualization utilities. The library is production-stable, actively maintained, has low install friction, and carries a permissive Apache 2.0 license. It is most valuable as a dependency for other projects or as a foundation for ML workflows that benefit from its bundled utilities. No security vulnerabilities are known. The Python 3.10+ requirement is a minor constraint for older codebases.
Install
gamma-pytools on PyPI
pip
pip install gamma-pytoolsuv
uv add gamma-pytoolspoetry
poetry add gamma-pytoolsInstalling gamma-pytools
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a recent commit on 2026-02-15 and production-stable status. Requires Python 3.10 or later.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install gamma-pytools
import pytools
# Use utilities like fitting, validation, or visualization helpers
# from the library's API development and ML utility modules
Requires Python 3.10 or later; not compatible with earlier Python versions.
Verify before relying
- Whether the MVC visualization framework supports formats beyond matplotlib and plain text.
- Whether the expression-building utilities are suitable for symbolic math or domain-specific languages.
- Performance characteristics of the joblib-based parallelization for large-scale workloads.
Package facts
| License | Apache Software License v2.0 (permissive) |
| Python support | supports the current Python release (<4a,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — joblib, matplotlib, numpy, pandas, scipy, typing_inspect, typing_extensions |
| Maintenance | actively maintained — 771 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,397/month — #13,588 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: gamma_pytools-3.0.2-py3-none-any.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
joblibsparkRegisters Apache Spark as a distributed backend…
permissive · top 15,000 on PyPI
matplotlibmatplotlib creates static, animated, and…
permissive · top 1,000 on PyPI
splotsplot creates static and interactive…
permissive · top 15,000 on PyPI
dtreevizdtreeviz renders decision trees from…
permissive · top 15,000 on PyPI
gstoolsGSTools provides geostatistical tools for…
copyleft · top 15,000 on PyPI
torchvizGenerates visual diagrams of PyTorch neural…
permissive · top 5,000 on PyPI
sklearndfWraps scikit-learn estimators to return pandas…
permissive · top 15,000 on PyPI
pvlibSimulates photovoltaic energy system…
permissive · top 5,000 on PyPI