Skip to main content

MultiApp is a framework so that you can give your applications a quick and easy way to have multiple functions at the command line. It’s simple to use - you just create a subclass of MultiApp like this:

class FileStamper(MultiApp):
    '''
FileStamper will manipulate logfiles in a special format. It is blah blah
blah...(more long description)
    '''
    name = "FileStamper"
    version = "1.0"
    shortdesc = "A logging package."

    def do_log(self, file, message):   # User types log at the prompt
        # Add the message to the log...
    do_log.usage = "FILENAME MESSAGE"
    do_log.descr = "Adds a new entry to the log file."

    def do_latest_entry(self, file, number=5): # User types latest-entry
        # Retrieve the latest log message...
    do_latest_entry.usage = "FILENAME [NUMBER]"
    do_latest_entry.descr = "Retrieves the log's latest entry."

MultiApp provides your program with:

  • Argument parsing that you can just treat like normal method arguments

  • Integrated help system that works out of the box

  • Very unobtrusive ways to define functionality

Release files for MultiApp 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MultiApp 1.0
File Size Uploaded
MultiApp-1.0.tar.gz 4.1 kB Details

Release files / MultiApp-1.0.tar.gz

Download URL MultiApp-1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ad854b9526ddd04e43b00372e34e04e7e736b6aa2a842be6b47d9afb604e393f
BLAKE2b-256 checksum
How to use checksums
0c2facdfb5e2a2e6b7a5e4f3c80bd10f3d6c6ed00a79cfd885103b85ee804990
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page