A small example package
Project description
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
Release history Release notifications | RSS feed
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
Hashes for pck_brendand-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 203758b253021bb96fae3ab99e02a92656bc8ad9210253ec123e2a61f927692f |
|
MD5 | e291d56a75742fb1853b499802df411a |
|
BLAKE2b-256 | 0ac5402437383875c2dc5de172c80f5c8c67d346e20da18cfc15c4e643e74c8a |