Skip to main content

Command-Line Argument Sorting and Parsing, for Python

Project description


Command-Line Argument Sorting and Parsing for Python

Table of Contents

  1. Introduction
  2. Installation
  3. Components
  4. Examples
  5. Project Information


CLASP stands for Command-Line Argument Sorting and Parsing. The first CLASP library was a C library with a C++ wrapper. There have been several implementations in other languages. CLASP.Python is the Python version.

Installation & usage

Install via pip or pip3, as in:

$ pip3 install pyclasp

Use via import:

import pyclasp

or, as we prefer,

import pyclasp as clasp




Examples are provided in the examples directory, along with a markdown description for each. A detailed list TOC of them is provided in

Project Information

Where to get help

GitHub Page

Contribution guidelines

Defect reports, feature requests, and pull requests are welcome on


Related projects


CLASP.Python is released under the 3-clause BSD license. See LICENSE for details.

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

pyclasp-0.8.8.tar.gz (18.1 kB view hashes)

Uploaded source

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