1. Installation¶
1.1. Requirements¶
Python 3.9 or higher
PostgreSQL 12 or higher
psycopg 3.1+
pydantic 2.0+
1.2. Installation Methods¶
Using pip (recommended):
pip install wpostgresql
Using poetry:
poetry add wpostgresql
From source:
git clone https://github.com/wisrovi/wpostgresql.git
cd wpostgresql
pip install -e .
1.3. Optional Dependencies¶
For development and testing:
pip install wpostgresql[dev]
For full async support:
pip install wpostgresql[async]
1.4. Verify Installation¶
>>> import wpostgresql
>>> print(wpostgresql.__version__)
0.3.0