While Apple Wallet doesn’t offer a native way to add a PEI library card—nor, indeed, anything other that credit, debit, and transit cards—the brilliant little free Pass4Wallet app can do it.
Just add a “Store” card, type your library card number (the app won’t scan the bar code), select type Codabar, and tap Add to Wallet.