Skip to main content

Aids the creation of "front door" scripts.

Project description

Build Status Build status

This simple module aids in the creation of “front door” scripts, which can help organize automated scripts and reduce the need for overly verbose docs. The idea is you can copy frontdoor.py into your repository to make it easy to bootstrap a front door script of your own (the other files in this repo are just examples that illustrate how frontdoor.py is used).

A front door script is a command which accepts a series of options which themselves may defer to other commands or processes which do work of some kind.

So say you have a project that has unit tests, integration tests, and deployment scripts. Typically you’d include a series of scripts, along with documentation on what scripts do what and how. What makes a front door script different is that you just document it’s available and users can find other options by jumping in and exploring it themselves. The end result feels a little like playing an interactive fiction computer game such as Zork.

This solves a different use case from argparse as argparse is more about creating robust, single purpose tools that can be invoked in flexible ways, where as Front Door is about creating scripts that more easily accept positional arguments and can defer to other commands. It’s also extremely simple and designed to be copy and pasted.

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

frontdoor-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file frontdoor-0.1.2.tar.gz.

File metadata

  • Download URL: frontdoor-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for frontdoor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 91e3484a669ff3e8ca5ed3cd27902e137e51091c8280f6c274f4cd9743dafc83
MD5 5725d75d38514ca75c58e458c731b487
BLAKE2b-256 fead1e682a8f37680dd1edc77519a87a6c1bc94a327f854828b2ebdee72ae6fa

See more details on using hashes here.

Supported by

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