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
File details
Details for the file pck_brendand-0.0.1.tar.gz
.
File metadata
- Download URL: pck_brendand-0.0.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a16d911cc2134f59957ee1922c2f3322c36e0f55d33ab8debb59e6f0f4afdc6f |
|
MD5 | b4260428600ed9467b20f6727e56239d |
|
BLAKE2b-256 | 73ebe62fcf96a8c547c6fc076dd6a4d45ea1f546679530134b654e1fd5f966a3 |
File details
Details for the file pck_brendand-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pck_brendand-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 203758b253021bb96fae3ab99e02a92656bc8ad9210253ec123e2a61f927692f |
|
MD5 | e291d56a75742fb1853b499802df411a |
|
BLAKE2b-256 | 0ac5402437383875c2dc5de172c80f5c8c67d346e20da18cfc15c4e643e74c8a |