> For the complete documentation index, see [llms.txt](https://docs.neuroinfodb.org/nidb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neuroinfodb.org/nidb/contribute/squirrel-data-sharing-format/building-squirrel-library-and-utils/building-python-wrapper.md).

# Building Python Wrapper

## Prerequisites

On RHEL8 Linux

```bash
sudo yum install swig python3-devel
```

Create the wrapper

```bash
swig -python gfg.i
gcc -c -fpic squirrel_wrap.c squirrel.cpp -I/usr/include/python3.6m
```
