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.
- Create a virtual environment:
python -m venv .venv # Windows
python3 -m venv .venv # MacOS and Linux
- Activate the venv:
.venv\Scripts\activate # Windows
source .venv/bin/activate # MacOS and Linux
- Install the project:
pip install pyllo_greeting
- 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":
Normal/Default:
pyllo Alice
# Hello there, Alice
Quick:
pyllo Theresa --quick
# Hi, Theresa
pyllo Matthew -q
# Hi, Matthew
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:
App Version (--version | -v):
pyllo -v
# 1.1.0
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d7303f9840c724f6cbc6f7f69e7d30f2bb6b766c3fdfe1ec0a3d839b3292d85
|
|
| MD5 |
d44ac6f86fb6ddd5f7a7450df6d631f9
|
|
| BLAKE2b-256 |
e615671375f51e0c33bdb308c9039be2868e737136b5f13b02ce7be2f58fda88
|
Provenance
The following attestation bundles were made for pyllo_greeting-1.1.0.tar.gz:
Publisher:
release.yml on joao-antonio-la/pyllo_greeting
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyllo_greeting-1.1.0.tar.gz -
Subject digest:
4d7303f9840c724f6cbc6f7f69e7d30f2bb6b766c3fdfe1ec0a3d839b3292d85 - Sigstore transparency entry: 2010778854
- Sigstore integration time:
-
Permalink:
joao-antonio-la/pyllo_greeting@24036b121ef27e5a8827a2ffa85f8858a8b90455 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/joao-antonio-la
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@24036b121ef27e5a8827a2ffa85f8858a8b90455 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef9db79e7e0cfc15f3172c5e1e9f1af1bc808cb5a0c87927c27d0bf0e45b6538
|
|
| MD5 |
99beb838b5e329379763f0a96eedcf61
|
|
| BLAKE2b-256 |
eb3d4f987e9bd92ea81206aaeec2ea618bb754790ea7b95537f297a0e5c58494
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyllo_greeting-1.1.0-py3-none-any.whl -
Subject digest:
ef9db79e7e0cfc15f3172c5e1e9f1af1bc808cb5a0c87927c27d0bf0e45b6538 - Sigstore transparency entry: 2010779010
- Sigstore integration time:
-
Permalink:
joao-antonio-la/pyllo_greeting@24036b121ef27e5a8827a2ffa85f8858a8b90455 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/joao-antonio-la
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@24036b121ef27e5a8827a2ffa85f8858a8b90455 -
Trigger Event:
push
-
Statement type: