Skip to main content

Turn any callable into a powerful command line script through arglist introspection.

Project description

The marrow.script package is a small library for turning average every-day callables (such as functions and class methods) into command-line scripts while automatically determining argument naming, typecasting, and generating things like help and version information. All behavior can be overridden by you, the developer, giving you a flexible and easy to develop with command line parsing library to replace optparse and argparse. This package is not a wrapper around existing parsing libraries, and attempts to match the syntax common to GNU software.

In a larger scope marrow.script aims to replace other high-level command-line scripting libraries such as Paste Script and commandline while also implementing Python 3 compatibility.

For full documentation, see the README.textile file present in the package, or view it online on the GitHub project page:

https://github.com/pulp/marrow.script

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

marrow.script-1.0.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distributions

marrow.script-1.0-py3.1.egg (14.2 kB view hashes)

Uploaded Source

marrow.script-1.0-py2.7.egg (14.1 kB view hashes)

Uploaded Source

marrow.script-1.0-py2.6.egg (14.2 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