Installation
Requirements
- Python 3.11 or later
Install from PyPI
pip install pleroma
Pydantic v2 support
MergeableModel requires pydantic v2 as an optional dependency. Install the
pydantic extra to pull it in:
pip install "pleroma[pydantic]"
If you try to import pleroma.contrib.pydantic without pydantic installed you
will get an ImportError with a descriptive message.
Install with uv
uv add pleroma
# or with pydantic support
uv add "pleroma[pydantic]"
Install from source
git clone https://gitlab.com/Kencho1/pleroma.git
cd pleroma
pip install -e .
# or with pydantic support
pip install -e ".[pydantic]"