devel/py-typer 0.21.1_1 MidnightBSD
Typer, build great CLIs. Easy to code. Based on Python type hints
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python 3.6+ type hints.
The key features are:
- Intuitive to write: Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs.
- Easy to use: It's easy to use for the final users. Automatic help, and automatic completion for all shells.
- Short: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
- Start simple: The simplest example adds only 2 lines of code to your app: 1 import, 1 function call.
- Grow large: Grow in complexity as much as you want, create arbitrarily complex trees of commands and groups of subcommands, with options and arguments.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-typer | 0.21.1_1 |
| FreeBSD | devel/py-typer | 0.27.2_1 |
| OpenBSD | devel/py-typer | 0.27.0 |
| NetBSD | devel/py-typer | 0.27.2 |
| DragonFly | devel/py-typer | 0.15.2 |
| HardenedBSD | devel/py-typer | 0.27.2_1 |
| GhostBSD | devel/py-typer | 0.27.2 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}typer
From mports:
cd /usr/mports/devel/py-typer && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typer>0:devel/py-typer
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}pdm-backend>=0: devel/py-pdm-backend
Runtime 4
${PYTHON_PKGNAMEPREFIX}click>=8.0.0: devel/py-click${PYTHON_PKGNAMEPREFIX}rich>=10.11.0: textproc/py-rich${PYTHON_PKGNAMEPREFIX}shellingham>=1.3.0: devel/py-shellingham${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3: devel/py-typing-extensions
Build dependencies 1
Run dependencies 4
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| typer-0.21.1.tar.gz | 110371 | ea835607cd752343b6b2b7ce676893e5a0324082268b48f27aa058bdb7d2145d |
Master sites 1
- PYPI