Skip to main content

Command-line Object Utility Tool

Project description


Documentation Status


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.

Source Distribution

clout-0.1.14.tar.gz (12.2 kB view hashes)

Uploaded source

Built Distribution

clout-0.1.14-py3-none-any.whl (12.5 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