Getting Started
Installation
Install FastPII, optional integrations, and verify the SDK and CLI are available.
Installation
Requirements
FastPII requires Python 3.10 or newer.
Core install
Install the base SDK:
pip install fastpiiPackage details:
- package name:
fastpii - version:
0.2.4.1 - requires Python:
>=3.10 - zero core dependencies
Optional integrations
Install optional extras only when you need them.
FastAPI integration
pip install fastpii[fastapi]LangChain integration
pip install fastpii[langchain]All optional integrations
pip install fastpii[all]Verify the SDK install
python -c "from fastpii import PrivacyGuard; print('OK')"Expected output:
OKVerify the CLI
fastpii list-detectorsThis should print the available built-in detectors for region cz.
Development install from source
git clone https://github.com/fastpii/fastpii.git
cd fastpii
pip install -e ".[dev]"This installs the package in editable mode together with development tools such as pytest, ruff, and mypy.