Installation

This guide covers different methods for installing this library depending on your use case.

📦 Standard Installation

From Test-PyPI (Development Versions)

If you want to try unreleased features, you can install from Test-PyPI:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ knitout-to-dat-python

Note

Development versions may be unstable and are not recommended for production use.

🛠️ Development Installation

From Source (Latest)

To get the latest development version:

git clone https://github.com/mhofmann-Khoury/knitout_to_dat_python.git
cd knitout_to_dat_python
pip install -e .

Development with All Dependencies

For contributing to KnitScript development:

git clone https://github.com/mhofmann-Khoury/knitout_to_dat_python.git
cd knitout_to_dat_python
pip install -e ".[dev]"
pre-commit install

This installs: - All runtime dependencies - Development tools (mypy, pytest, etc.) - Documentation generation tools - Pre-commit hooks for code quality

Next Steps

After successful installation:

  1. Read the Quick Start guide for your first pattern