Skip to main content

A simple Python package for greeting and farewell messages

Project description

markdown

Hello World PyPI

human-say is a simple Python package that provides functions to greet and bid farewell to users. It includes a human_say package with two modules: say_hello and say_goodbye, which print personalized greeting and farewell messages.

Installation

You can install human-say using pip. Once published to PyPI, use the command below. For local development, install from the source.

From PyPI

pip install human-say

From Source

  • Clone the repository:
git clone https://github.com/abbasi0abolfazl/hello_world_pypi.git
cd human-say
  • Install using pip:
pip install .

Usage

The package provides two functions in the human_say package:

  • say_hello(name): Prints a greeting message.
  • say_goodbye(name): Prints a farewell message.

Example:

from human_say.say_hello import say_hello
from human_say.say_goodbye import say_goodbye

def main():
    print(say_hello("john doe"))  # Output: Hi john doe What's new?
    print(say_goodbye("john doe"))  # Output: Goodbye john doe See you later.

if __name__ == "__main__":
    main()

Project Structure

human-say/
├── human_say/
│   ├── __init__.py
│   ├── say_hello.py
│   ├── say_goodbye.py
├── main.py
├── pyproject.toml
├── README.md
├── LICENSE
└── uv.lock

Contact

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

human_say-0.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

human_say-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file human_say-0.1.0.tar.gz.

File metadata

  • Download URL: human_say-0.1.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for human_say-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9adc5c4bc82c9f20f4ffe025ceac8ae6bcd0af1aedbe27da995f1c183ce0359b
MD5 42da1bc26ad748a19dc99ccfcf019394
BLAKE2b-256 756447b2495419c3d4b30b631ed101e0f9cf793d706fbe076e5eb6cba4b1c81d

See more details on using hashes here.

File details

Details for the file human_say-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: human_say-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for human_say-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e50cd5e70596fb79e4712d425d6e28c594f5589a59f6dc688cd87c6290feaf51
MD5 7350a832f60cbe34ad49998afefda28b
BLAKE2b-256 5bee11b80f21e57cddde704be6ea8022b1b8e5236f2bf6619f0aae9e518a1172

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