Skip to main content

Python based toolkit for writing Command-Line Interface(CLI)

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:

2.1.0

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 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.option("--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.option("--count", default=1, help="The number of times the feedback is printed.")
@quo.option("--name", prompt="What is your name", help="This prompts the user to input their name.")
@quo.option("--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.1.tar.gz (91.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quo-2021.1-py3-none-any.whl (99.0 kB view details)

Uploaded Python 3

File details

Details for the file quo-2021.1.tar.gz.

File metadata

  • Download URL: quo-2021.1.tar.gz
  • Upload date:
  • Size: 91.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.8.0 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for quo-2021.1.tar.gz
Algorithm Hash digest
SHA256 653c4f9edd8b3ec7af5dfb64aa90100b8d25489f391eece12a9ac7f4d7d4b126
MD5 249758214710e020e2cc9b61352c2a78
BLAKE2b-256 5fb17301c8949cde8117640133f3d87ed8289ab88ffdb9b0a79f0c04710b5f0a

See more details on using hashes here.

File details

Details for the file quo-2021.1-py3-none-any.whl.

File metadata

  • Download URL: quo-2021.1-py3-none-any.whl
  • Upload date:
  • Size: 99.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.8.0 tqdm/4.61.1 CPython/3.8.6

File hashes

Hashes for quo-2021.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58aa5812b645d903b31b280844d2b8767afce524b0c9e24372983556f1bb00ab
MD5 d7b8024d74520de29d3e21c96e9728fc
BLAKE2b-256 a8511d2a2b99c0d6f168799e89380c74f796e1dcb96aa2cfe67c818302e56e87

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page