{"id":21370,"library":"gamma-pytools","title":"Gamma Pytools","description":"A collection of Python extensions and tools used in BCG GAMMA's open-source libraries. Current version 3.0.2, with support for Python >=3.10 and <4a. Released under MIT license. Maintenance and feature updates with monthly releases.","status":"active","version":"3.0.2","language":"python","source_language":"en","source_url":"https://github.com/BCG-X-Official/pytools","tags":["utilities","extensions","BCG GAMMA","tooling"],"install":[{"cmd":"pip install gamma-pytools","lang":"bash","label":"pip install (PyPI)"}],"dependencies":[{"reason":"Core dependency for array operations","package":"numpy","optional":false},{"reason":"Used for scientific computing utilities","package":"scipy","optional":false},{"reason":"Required for type hints","package":"typing_extensions","optional":false}],"imports":[{"wrong":"from pytools import Pytools","symbol":"pytools","correct":"import pytools"}],"quickstart":{"code":"from pytools import Pytools, Api\n\n# Initialize with optional API token for advanced features\npt = Pytools(api_token=os.environ.get('PYTOOLS_API_TOKEN', ''))\nprint(pt.__version__)","lang":"python","description":"Basic usage of gamma-pytools. The Pytools class is the entry point."},"warnings":[{"fix":"Update your code to use the new method names. See the release notes for details.","message":"Version 3.0.0 introduced breaking API changes: methods like `to_list()` and `to_se` were renamed.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Upgrade to Python 3.10 or higher.","message":"Python 3.10 minimum requirement. Older Python versions (3.9 and below) are no longer supported.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Check the documentation for alternatives.","message":"Some functions in `pytools.api` module may be deprecated in future releases.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Always use `import pytools`.","message":"The package is named `gamma-pytools` on PyPI, but imports use `pytools`. Do not use `import gamma-pytools`.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.0.2':21 '3.10':26 '4a':28 'bcg':12,42 'collect':4 'current':19 'extens':7,41 'featur':35 'gamma':1,13,43 'librari':18 'licens':32 'mainten':33 'mit':31 'month':38 'open':16 'open-sourc':15 'python':6,25 'pytool':2 'releas':29,39 'sourc':17 'support':23 'tool':9,44 'updat':36 'use':10 'util':40 'version':20","created_at":"2026-04-27T16:59:32.956735+00:00","updated_at":"2026-04-27T16:59:32.956735+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.0.2","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/BCG-X-Official/pytools","docs":"https://bcg-x-official.github.io/pytools/","changelog":null,"pypi":"https://pypi.org/project/gamma-pytools/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}