skillfed

gamma-pytools

A collection of Python extensions and tools used in BCG GAMMA's open-source libraries.

gamma-pytools v3.0.2 90.4K downloads/30d#13,588 on PyPI35
Permissive license Apache Software License v2.0 Active released

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-pytools

uv

uv add gamma-pytools

poetry

poetry add gamma-pytools

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Topic :: Scientific/Engineering

Tags

machine learning utilities libraryvisualization framework pythonmodel fitting and validationdata simulation toolsjoblib parallelization wrappermatplotlib rendering frameworkAPI development utilities
ml-utilitiesvisualization-frameworkapi-development

More Scientific/Engineering packages