Skip to main content

A simple greeting package

Project description

greeting_package

PyPI version

greeting-package is a Python package for greeting people.

Installation

You can install greeting-package via pip:

pip install greeting-package

Usage

from greeting_package.greeting import say_hello

say_hello('John')  # 'Hello, John!'
say_hello('Jane')  # 'Hello, Jane!'

Contributing

Bug reports and pull requests are welcome on GitHub at Here.

Documentation

The greeting-package documentation includes:

  • Installation instructions
  • Usage examples
  • API reference
  • Development instructions

API Reference

greeting_package.greeting.say_hello(name: str) -> str

Greet someone by name.

Parameters:

    name (str): # The name of the person to greet.

Returns:

    A greeting message (str).

Contributing

Bug Reports and Feature Requests

Please use the issue tracker to report any bugs or feature requests. Development

Clone the repository:

git clone https://github.com/osundwajeff/greeting_package.git
cd greeting-package

Create a virtual environment:

python3 -m venv env
source env/bin/activate

Install development dependencies:

pip install -r requirements-dev.txt

Make changes and add tests. Run the tests:

pytest tests/

Build the package:

python3 -m build

Install the package:

pip install .

Push your changes and create a pull request.

License

greeting-package is released under the MIT License. See LICENSE for details.

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

greeting-package-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

greeting_package-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file greeting-package-0.1.3.tar.gz.

File metadata

  • Download URL: greeting-package-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for greeting-package-0.1.3.tar.gz
Algorithm Hash digest
SHA256 df0a6ffa89edc2222415288bb2902ded1bdc67a0f84462e9e62f8f9e4c759eee
MD5 be1d82e222e9513a3215ae83b5703612
BLAKE2b-256 30f6a627012f4dd1fa32654bdaddaf7968f4540423fd7529f651fe3a0aaebec3

See more details on using hashes here.

File details

Details for the file greeting_package-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for greeting_package-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76cc12388c7a7ae8bdedcbfcae07334f39dbb0465966c98e62807e9054756721
MD5 b5a453a1829fd290807f11f5a8cddf99
BLAKE2b-256 66db92561de4308edbe33bbc71c34d4f3041f057bb6a2c23b5a1d5b4d80a54f4

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