Skip to content

test-python

A Python package

Installation

Install using pip:

pip install test_python

Or using uv (recommended):

uv add test_python

Quick Start

import test_python

print(test_python.__version__)

Command Line Interface

test-python provides a command-line interface:

# Show version
test_python --version

# Say hello
test_python hello World

Development

Prerequisites

  • Python 3.10+
  • uv for package management

Setup

Clone the repository and install dependencies:

git clone https://github.com/tjzegmott/test-python.git
cd test-python
uv sync --group dev

Running Tests

uv run pytest

Code Quality

# Lint
uv run ruff check .

# Format
uv run ruff format .

# Type check
uv run ty check

Prek Hooks

Install prek hooks:

prek install

License

This project is licensed under the MIT License - see the LICENSE file for details.