--- id: typer-slim version: "0.24.0" license: MIT license_treatment: permissive maintenance: active --- # typer-slim — Typer, build great CLIs. Easy to code. Based on Python type hints. License: permissive · Maintenance: active · Downloads: 21.1M/mo ## What it is and what it does typer-slim is a deprecated package that once provided a lightweight version of the Typer CLI framework without Rich and shellingham dependencies. Since version 0.22.0, it has been reduced to a simple wrapper that installs the full typer package unchanged. The package exists solely as a migration path for legacy projects that previously depended on typer-slim; it receives no updates and should not be used for new code. Typer itself is a framework for building command-line interfaces using Python type hints, where function parameters and their type annotations automatically become CLI arguments and options. The underlying typer library remains actively maintained and widely used, but typer-slim adds no functionality—it is purely a redirect to the full package. Use it for: - Migrating legacy projects that explicitly depend on typer-slim to use the current typer package instead - Understanding why a project's dependency on typer-slim should be replaced with a direct typer dependency - Verifying that old code using typer-slim will continue to work by installing the full typer package ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. typer-slim is a deprecated migration shim that installs the full typer package; it exists only to redirect old projects and should not be used for new installations. No. Do not install typer-slim. The package is explicitly deprecated and no longer maintained. Install typer directly instead. If you have existing code that depends on typer-slim, update it to depend on typer; the migration is straightforward since typer-slim now installs the full typer package anyway. ## Install pip install typer-slim uv add typer-slim poetry add typer-slim ## Installing typer-slim Before you install: Low install friction with a single dependency, but the package itself is explicitly deprecated and no longer maintained. The underlying typer library remains active, but typer-slim adds no value and will receive no further updates. License in practice: MIT license permits permissive use, modification, and distribution with minimal restrictions, but this is moot given the package's deprecated status. Quickstart: # Do not use typer-slim. Install typer instead: # pip install typer import typer app = typer.Typer() @app.command() def hello(name: str): print(f"Hello {name}") if __name__ == "__main__": app() Requires Python 3.10 or later; typer-slim is deprecated and should not be installed—install typer directly instead. Verify before relying: - Whether setting TYPER_USE_RICH environment variable to False or 0 actually disables Rich output in practice - Timeline or conditions under which typer-slim will be removed from PyPI entirely ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 21.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags CLI framework Python type hints, command line interface builder, typer CLI library, Python CLI with type hints, build command line tools, deprecated, migration-shim [View on SkillFed](https://skillfed.io/packages/typer-slim) · [View on PyPI](https://pypi.org/project/typer-slim/)