--- id: gamma-pytools version: "3.0.2" license: Apache Software License v2.0 license_treatment: permissive maintenance: active --- # gamma-pytools — A collection of Python extensions and tools used in BCG GAMMA's open-source libraries. License: permissive · Maintenance: active · Downloads: 90.4K/mo ## 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 above — 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 pip install gamma-pytools uv add gamma-pytools 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_current - Install friction: low - Maintenance: active - Downloads: 90.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags machine learning utilities library, visualization framework python, model fitting and validation, data simulation tools, joblib parallelization wrapper, matplotlib rendering framework, API development utilities, ml-utilities, visualization-framework, api-development [View on SkillFed](https://skillfed.io/packages/gamma-pytools) · [View on PyPI](https://pypi.org/project/gamma-pytools/)