Skip to main content

Python library that provides useful click types

Project description

click-types: Python library that provides useful click types

PyPI version Codacy Badge Documentation Status

click is the Command line interface creation kit and it helps you to create command line interfaces with some few lines of code. Click comes with meaningful defauls to make starting with it as easy as possible.

A powerful feature of click is to develop custom types to convert and/or validate user input. There are several custom types in the wild but this repository is intended to collect such custom types to make it easily accessable.


Currently we support two ways of installing click-types on your system. We will both illustrate short in the following sections.

Installing from pypi

We release all versions on, so you can simply use pip to install it.

pip install click-types

Install from repository

Alternatively you can install it from a local clone of our github repository.

$ git clone
Cloning into 'click-types'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 83 (delta 25), reused 72 (delta 16), pack-reused 0
Unpacking objects: 100% (83/83), 29.77 KiB | 441.00 KiB/s, done.
$ cd click-types/
$ python install

Custom types

Name Module Description
AnsibleVaultParamType click_types.ansible Manages secret values in ansible vaults. This type open the configured vault put the value to the given path and close vault.
SemVerParamType click_types.coding Provides validity checks for semantic versions.
CIDRParamType Checking a given IP network/prefix if it's a valid CIDR. Both ip version (v4 and v6) are supported.
VlanParamType Validates vlan ids according to IEEE 802.1Q standard.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

click-types-1.0.1.tar.gz (16.7 kB view hashes)

Uploaded source

Built Distribution

click_types-1.0.1-py3-none-any.whl (17.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page