Skip to main content

possibilities is a simple python framework to easily use sys.argv

Project description

possibilities

Difficulties using sys.argv? possibility helps you! By Strawberry Software

What is possibilities?

possibilities is a simple python framework to easily use sys.argv!

How can I install possibilities?

Simply just run pip install possabilities See more at pypi.org/project/possabilities

How to use possibilities?

from possibilities.main import add_possability, check, _Empty__

def print_help():
print("Help")

def print_help_test():
print("Help Test")

def print_help_test_project():
print("Help Test Project")

add_possability([[1,"help"],[2,_Empty__],print_help])
add_possability([[1,"help"],[2,"test"],[3,_Empty__],print_help_test])
add_possability([[1,"help"],[2,"test"],[3, "project"],print_help_test_project])

check(errorfunc=False)

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

possabilities-0.69.2.tar.gz (14.1 kB view hashes)

Uploaded Source

Built Distribution

possabilities-0.69.2-py3-none-any.whl (14.1 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