Skip to main content

A small example package

Project description

Review Assignment Due Date

Instructions

Complete Activity 14: Python Packaging and have a Python package deployed on PyPi. The name of your package does not have to be "example-package" but it most end with your name. The package could do anything you like (not necessarily what is done in the tutorial). You need to push a file name example.py that illustrates a possible use of your package.

Grading

+3 I should be able to install your package using pip.

+2 example.py uses the package and runts without any error.

pck_BrendanD

pck_BrendanD is a simple Python package that provides a friendly greeting.

Installation

Install pck_BrendanD by running:

pip install pck_BrendanD

Usage

To use the greet function from the pck_BrendanD package, follow these steps:

from pck_BrendanD import mod

# Greet the world
print(mod.greet("World"))

# Greet a user by name
print(mod.greet("Brendan"))

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

pck_brendand-0.0.1.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

pck_brendand-0.0.1-py3-none-any.whl (2.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page