Skip to main content

Python based toolkit for writing Command-Line Interface applications

Project description

https://raw.githubusercontent.com/secretum-inc/quo/main/pics/quo.png

Quo

Build status coverage MIT License quo can be installed via wheel Supported Python versions. Support Python implementations.

Version:

2021.2

Web:

http://quo.readthedocs.io/

Download:

http://pypi.org/project/quo

Source:

http://github.com/secretum-inc/quo

# Quo
# Forever scalable

Quo is a Python based toolkit for writing Command-Line Interface(CLI) applications. Quo improves programmer’s productivity because it’s easy to use and supports auto completion which means less time will be spent debugging. Simple to code, easy to learn, and does not come with needless baggage

Quo is making headway towards composing speedy and orderly CLI applications while forestalling any disappointment brought about by the failure to execute a CLI API.

Quo requires Python 3.6 or later.

Installation

You can install quo via the Python Package Index (PyPI)

$ pip install -U quo

Example 1

import quo
quo.echo('Hello, World!')

Example 2

import quo
quo.flair(f'Hello, World!', foreground="red", bold=True)

Example 3

import quo
@quo.command()
@quo.app("--name", prompt="What is your name?:")
def hello(name):
quo.echo(f'Hello {name}!')
if __name__ == '__main__':
    hello()

Example 4

import quo
@quo.command()
@quo.app("--count", default=1, help="The number of times the feedback is printed.")
@quo.app("--name", prompt="What is your name", help="This prompts the user to input their name.")
@quo.app("--profession", prompt="What is your profession", help="This prompts user to input their proffession")
def survey(count, name, proffession):

    for _ in range(count):
        quo.echo(f"Thank you for your time, {name}!")

if __name__ == '__main__':
    survey

Quo is…

Simple

If you know Python you can easily use quo and it can integrate with just about anything.

Getting Help

Gitter

For discussions about the usage, development, and future of quo, please join our Gitter community

Resources

Bug tracker

If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/secretum-inc/quo/issues/

License

This software is licensed under the MIT License. See the LICENSE file in the top distribution directory for the full license text.

Code of Conduct

Everyone interacting in the project’s code bases, issue trackers, chat rooms, and mailing lists is expected to follow Quo’s Code of Conduct.

As contributors and maintainers of these projects, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in these projects a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.

Examples of unacceptable behavior by participants include:

  • The use of sexualized language or imagery

  • Personal attacks

  • Trolling or insulting/derogatory comments

  • Public or private harassment

  • Publishing other’s private information, such as physical or electronic addresses, without explicit permission

  • Other unethical or unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.

This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the Contributor Covenant, version 1.2.0 available at http://contributor-covenant.org/version/1/2/0/.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

quo-2021.2.tar.gz (91.8 kB view hashes)

Uploaded Source

Built Distribution

quo-2021.2-py3-none-any.whl (98.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