Skip to content

copier-astral-example

A Python project generated by using https://github.com/ritwiktiwari/copier-astral

Installation

Install using pip:

pip install copier_astral_example

Or using uv (recommended):

uv add copier_astral_example

Quick Start

import copier_astral_example

print(copier_astral_example.__version__)

Command Line Interface

copier-astral-example provides a command-line interface:

# Show version
copier_astral_example --version

# Say hello
copier_astral_example hello World

Development

Prerequisites

  • Python 3.12+
  • uv for package management

Setup

Clone the repository and install dependencies:

git clone https://github.com/ritwiktiwari/copier-astral-example.git
cd copier-astral-example
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

Pre-commit Hooks

Install pre-commit hooks:

pre-commit install

License

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