BSD Ports

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

SystemPortVersion
MidnightBSDdevel/py-typer0.21.1_1
FreeBSDdevel/py-typer0.27.2_1
OpenBSDdevel/py-typer0.27.0
NetBSDdevel/py-typer0.27.2
DragonFlydevel/py-typer0.15.2
HardenedBSDdevel/py-typer0.27.2_1
GhostBSDdevel/py-typer0.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

Runtime 4

Build dependencies 1
Run dependencies 4

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
typer-0.21.1.tar.gz110371ea835607cd752343b6b2b7ce676893e5a0324082268b48f27aa058bdb7d2145d
Master sites 1
  • PYPI