--- id: kt-legacy version: "1.0.5" license: Apache License 2.0 license_treatment: permissive maintenance: abandoned --- # kt-legacy — Legacy import names for Keras Tuner License: permissive · Maintenance: abandoned · Downloads: 158.0K/mo ## What it is and what it does kt-legacy is a compatibility shim for Keras Tuner that restores the old `kerastuner` import name. The main Keras Tuner repository changed its import name to `keras_tuner`, breaking code that relied on the older `kerastuner` name. This package exists solely to bridge that gap, allowing legacy code to continue importing under the old name without rewriting imports. It has no runtime dependencies and installs as a pure Python wheel, making it lightweight. However, the package has been abandoned, with no maintenance since its latest release on 2023-04-12. It is a narrow-purpose tool—useful only if you have existing code that cannot be updated to use the new import name. Use it for: - Maintaining legacy code that imports Keras Tuner as `kerastuner` without refactoring imports - Running older hyperparameter tuning scripts that depend on the deprecated import name - Bridging a temporary gap during migration from old to new Keras Tuner import conventions ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides the deprecated `kerastuner` import name for Keras Tuner, allowing code written for older versions to continue working without modification. Yes, but only if you have legacy code that cannot be updated to use `keras_tuner` and you need the old `kerastuner` import name to work. The package is abandoned and unmaintained, so it will not receive bug fixes or updates. For new projects, use the current Keras Tuner package with the `keras_tuner` import instead. ## Install pip install kt-legacy uv add kt-legacy poetry add kt-legacy ## Installing kt-legacy Before you install: No runtime dependencies and low install friction, but the package is abandoned—last release was 1220 days ago with no recent activity. License in practice: Licensed under Apache License 2.0 (permissive), so you can use, modify, and distribute it freely with minimal restrictions. Quickstart: pip install kt-legacy import kerastuner Verify before relying: - Whether this package actually re-exports Keras Tuner or merely provides an import shim - What version(s) of Keras Tuner this package is compatible with - Whether installing this alongside the current keras_tuner package causes conflicts ## Package facts - License: Apache License 2.0 (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 158.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags keras tuner legacy import, kerastuner backwards compatibility, deprecated keras tuner name, keras tuner import alias, legacy kerastuner support, compatibility-shim, deprecated [View on SkillFed](https://skillfed.io/packages/kt-legacy) · [View on PyPI](https://pypi.org/project/kt-legacy/)