pyg-base