Skip to content

rustykatz/python-package-templates

Repository files navigation

Python Package Templates

Table of Contents

  1. Overview
  2. Running Tests

Overiew

This repository contains three sample project templates to help you get started with Python Packaging. setuptools_template covers the traditional setuptools approach, while pyproject_setuptools_template and pyproject_hatchling_template covers the modern pyproject.toml approach.

pyproject_setuptools_template -> uses the setuptools build backend
pyproject_hatchling_template -> uses the hatchling build backend

A cool feature of using pyproject.toml is the [project.scripts] section. Under this section, you can specify CLI commands that invoke specified functions from the package.

Running Tests

Tests can be run using the bash script inside the ./tests folder

$ pytest tests/run_test.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published