Skip to main content

Vulcano

Project description

Vulcano Build Status codecov readthedocs py27build py34build py35build py36build py37build

What is Vulcano?

Vulcano is a framework for creating command line utils.

Here's a simple example:

from vulcano.app.classes import VulcanoApp


app = VulcanoApp()

@app.register("hi", "Salute people given form parameter")
def salute_method_here(name, title="Mr."):
    print("Hi! {} {} :) Glad to see you.".format(title, name))


@app.register()
def bye(name="User"):
    """ Say goodbye to someone """
    print("Bye {}!".format(name))


if __name__ == '__main__':
    app.run()

This will create two commands:

  • hi: Registered by wrapping the salute_method_here
  • bye: Just registered directly with the bye function

And this will generate something like this:

Demo gif video

Nice, right?

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

vulcano-0.0.3.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

vulcano-0.0.3-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

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