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.0
  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.0.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.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyllo_greeting-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 4d7303f9840c724f6cbc6f7f69e7d30f2bb6b766c3fdfe1ec0a3d839b3292d85
MD5 d44ac6f86fb6ddd5f7a7450df6d631f9
BLAKE2b-256 e615671375f51e0c33bdb308c9039be2868e737136b5f13b02ce7be2f58fda88

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyllo_greeting-1.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: pyllo_greeting-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef9db79e7e0cfc15f3172c5e1e9f1af1bc808cb5a0c87927c27d0bf0e45b6538
MD5 99beb838b5e329379763f0a96eedcf61
BLAKE2b-256 eb3d4f987e9bd92ea81206aaeec2ea618bb754790ea7b95537f297a0e5c58494

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyllo_greeting-1.1.0-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