Skip to main content

simple CLI framework

Project description

https://img.shields.io/pypi/v/wisepy2.svg

Wisepy2

Since we found that the capabilities/features doesn’t attract people into using wisepy, thus we go to an extreme, making the simplest command line tool for Python, but also capable of covering the regular use cases.

Two examples are given in the root directory of this project.

https://raw.githubusercontent.com/Xython/wisepy2/master/example-add2.png
from wisepy2 import *
import sys


@wise
def add(left: int, right: int):
    """
    add up two numbers.
    """
    print(left + right)
    return 0


if __name__ == '__main__':
    add(sys.argv[1:])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wisepy2-1.0.3-py3-none-any.whl (2.7 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