Newer
Older
# Working with Picodata using Python asyncpg
## Requirements
- Python 3.9
- [asyncpg](https://pypi.org/project/asyncpg/)
## Running this example
1. Install dependencies
``` sh
pip install asyncpg
```
2. Run Picodata cluster
``` sh
docker-compose up -d
```
3. Run `picodata_example.py`
``` sh
python picodata_example.py
```
In case of successful run you should see logs like the following in your console:
``` sh
table create
delete ok: DELETE 0
insert ok INSERT 0 1
result: <Record id=1 item='test'>
```