Skip to content

Installation

Kajson requires Python 3.9 or higher and can be installed using your favorite package manager.

Requirements

  • Python ≥ 3.9
  • Pydantic v2 (installed automatically)

Installation Methods

Using pip

pip install kajson

Using poetry

poetry add kajson
uv pip install kajson

Development Installation

If you want to contribute to Kajson or install from source:

# Clone the repository
git clone https://github.com/Pipelex/kajson.git
cd kajson

# Install with development dependencies
make install

Verify Installation

After installation, you can verify that Kajson is properly installed:

import kajson

# Check version
print(kajson.__version__)

# Test basic functionality
data = {"message": "Hello, Kajson!"}
json_str = kajson.dumps(data)
print(json_str)

Next Steps

Once installed, check out the Quick Start Guide to begin using Kajson in your projects.