Installation#

🔧 Prerequisites#

Before installing ContextGem, ensure you have:

  • Python 3.10-3.13

  • pip (Python package installer)

📦 Installation Methods#

From PyPI#

The simplest way to install ContextGem is via pip:

pip install -U contextgem

From Source#

To install from source:

git clone https://github.com/shcherbak-ai/contextgem.git
cd contextgem
pip install -e .

Development Installation#

For development, we use Poetry:

# Install poetry if you don't have it
pip install poetry

# Install dependencies including development extras
poetry install --with dev

# Activate the virtual environment
poetry shell

✅ Verifying Installation#

To verify that ContextGem is installed correctly, run:

python -c "import contextgem; print(contextgem.__version__)"