Skip to main content

A simple example Python package with implemented content.

Project description

My Simple Package (Implemented Example)

PyPI version License: MIT

This repository provides a fully implemented, basic Python package named my-simple-package. It serves as a practical template demonstrating recommended project structure, packaging using pyproject.toml, basic functionality, unit testing, and documentation conventions.

Features

  • A greet(name) function that returns "Hello, [name]!".
  • A farewell(name) function for goodbyes.
  • A simple SimpleCounter class.
  • Includes type hints and basic error handling (TypeError, ValueError).
  • Unit tests written using the unittest module.
  • Configured for packaging with setuptools via pyproject.toml.
  • Uses the src/ layout for cleaner separation of source and other files.

Installation

From PyPI (if published):

pip install my-simple-package

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

my_simple_package_jonas_jack-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

my_simple_package_jonas_jack-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for my_simple_package_jonas_jack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b6bc2d974b0e378e134af12253ea57bf510c35a6a449fb89c12069f27909176
MD5 eadffe64e904359173905c76578d9801
BLAKE2b-256 e89dfca936f5a7b2eca43e44da87d276ce4ca0fc4e95d693be15c876ca3965d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for my_simple_package_jonas_jack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbf834033dff6430cb67c0a813cf206887b8cf655ac84f1a6ca4425731d6d4cb
MD5 2011b63b57a964c4b95f8ba5e1c48cc8
BLAKE2b-256 aa9f6d01dafba374d82070c563f427f6e522f3f9427441069e725076552162e5

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