Skip to main content

CLI application for testing Python distribution methods

Project description

pyllo_greeting

Simple CLI application created for studying Python apps distribution methods.

Installation

⚠️ You must have python installed to use this application.

  1. Create a virtual environment:
python -m venv .venv  # Windows
python3 -m venv .venv # MacOS and Linux
  1. Activate the venv:
.venv\Scripts\activate    # Windows
source .venv/bin/activate # MacOS and Linux
  1. Install the project:
pip install pyllo_greeting
  1. Use the CLI:
pyllo
# Output: Hello there

Options

Name and Tones

  • It is possible to pass a name/word to be greeted by the app:
pyllo John
# Hello there, John
pyllo everyone
# Hello there, everyone

This argument is a string, therefore, in presence of empty spaces, it has to be passed in quotes:

pyllo "Sergio and Sara"
# Hello there, Sergio and Sara
  • Secondly, there is also the possibity of informing a tone. The default tone is "normal":
  1. Normal/Default:
pyllo Alice
# Hello there, Alice
  1. Quick:
pyllo Theresa --quick
# Hi, Theresa

pyllo Matthew -q
# Hi, Matthew
  1. Fancy:
pyllo Leticia --fancy
# Greetings. It is truly a pleasure to acknowledge your existence, Leticia

pyllo Beatrice -f
# Greetings. It is truly a pleasure to acknowledge your existence, Beatrice

Random Greet

When using the program with the --random | -r flag, the CLI will display a random greeting phrase.
This random phrase can be one of the standards (normal, quick and fancy) or a completely different one.

pyllo Antony --random
# Output: System check complete. Welcome, Antony.

pyllo Mary --random
# Output: Greetings, Mary.

pyllo Mark --random
# Output: What's up, Mark?

Meta Options

There are currently two meta options:

  1. App Version (--version | -v):
pyllo -v
# 1.1.1
  1. App's Credits (--credits | -c):
pyllo -c
# Project created by:
#         João Antônio

# Author's GitHub:
#         https://github.com/joao-antonio-la

# Project's Repository:
#         https://github.com/joao-antonio-la/pyllo

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

pyllo_greeting-1.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

pyllo_greeting-1.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file pyllo_greeting-1.1.1.tar.gz.

File metadata

  • Download URL: pyllo_greeting-1.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyllo_greeting-1.1.1.tar.gz
Algorithm Hash digest
SHA256 1e5e9766e798832f45a599317078d8d7381efcc898e071e5edfa37d8d327d9d1
MD5 93f20ede697739690bbc72e3cf43296e
BLAKE2b-256 921a7a27e3a3c6b364fdecbf3e3ae141df2e92ef94c5a6be1103b54e90ff3253

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyllo_greeting-1.1.1.tar.gz:

Publisher: release.yml on joao-antonio-la/pyllo_greeting

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyllo_greeting-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyllo_greeting-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyllo_greeting-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30982ee42addc0be84deab06d9865154322ec4597bc24e4108ead8830558e211
MD5 03ffdd181df4461eecb191cf47387205
BLAKE2b-256 ef2309b0ea84c5c6e1970f9f3afd3be8bd42a2845c224cc3316c12b52d880667

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyllo_greeting-1.1.1-py3-none-any.whl:

Publisher: release.yml on joao-antonio-la/pyllo_greeting

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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