Skip to main content

Command-line Object Utility Tool

Project description

docs Documentation Status
code Last commit
Travis-CI Build Status
PyPI Package latest release
PyPI Wheel
Supported versions
Supported implementations
Commits since latest release

Convert dataclasses into a command-line interface.


To install, use

pip install clout

Define some dataclasses and convert them into a command-line interface.

import attr
import click

import clout

class DB:
    host: str
    port: int

class Config:
    db: DB
    dry_run: bool

cli = clout.Command(Config)

$ myapp --dry-run db --host --port 9999
Config(db=DB(host='', port=9999), dry_run=True)

See the full docs for more information:

Project details

Download files

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

Files for clout, version 0.1.14
Filename, size File type Python version Upload date Hashes
Filename, size clout-0.1.14-py3-none-any.whl (12.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size clout-0.1.14.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page