skillfed

wallet-py3k

Passbook file generator

wallet-py3k v0.0.4 205.3K downloads/30d#9,590 on PyPI
License unclear Copyright (c) 2012 devartis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software… (full text in the JSON record) Abandoned released

What it is and what it does

Wallet-py3k is a Python library for creating Apple Wallet (.pkpass) files, which are signed archives containing pass data, images, and metadata that iOS and macOS can display as digital passes. It handles the serialization of pass information (store cards, boarding passes, etc.), embeds required images (icon, logo), and signs the archive using Apple-issued certificates.

The package is a Python 3 fork of an earlier passbook library and requires manual setup: you must obtain an Apple Pass Type ID from the iOS Provisioning Portal, export certificates from Apple, convert them to .pem format using OpenSSL, and then use the library to construct and sign the final .pkpass file. It has no runtime dependencies but is tightly coupled to Apple's certificate infrastructure.

Use it for:

  • Generate store loyalty cards or membership passes for iOS Wallet from a Python backend.
  • Create boarding passes or event tickets as .pkpass files for distribution to users.
  • Automate bulk pass generation for a ticketing or retail system that needs to deliver passes to Apple Wallet.
  • Build a pass management service that signs and distributes Apple Wallet passes without relying on third-party pass hosting.
  • Integrate pass creation into a Python web application serving iOS users.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Generates Apple Wallet (.pkpass) files from Python, encoding pass data, certificates, and images into the signed format required by Apple's PassKit.

No. The package is abandoned (last release 2018, no commits since), untested on modern Python versions, and offers no maintenance or security updates. For new projects, use an actively maintained alternative or Apple's official PassKit APIs. Only consider this if you have legacy code already depending on it and cannot migrate.

Install

wallet-py3k on PyPI

pip

pip install wallet-py3k

uv

uv add wallet-py3k

poetry

poetry add wallet-py3k

Installing wallet-py3k

Before you install

High install friction: the package is abandoned (last release 2018-12-17, 2797 days ago) with no runtime dependencies but requires external Apple certificates and OpenSSL tooling to function. No active maintenance.

License in practice

License treatment is unclear; the raw license text is MIT-like (permissive), but SPDX classification is absent. Permissive use is likely but verify against your compliance requirements.

Quickstart

from wallet.models import Pass, Barcode, StoreCard

cardInfo = StoreCard()
cardInfo.addPrimaryField('name', 'John Doe', 'Name')
passfile = Pass(cardInfo, passTypeIdentifier='pass.com.your.organization', organizationName='Your organization', teamIdentifier='AGK5BZEN3E')
passfile.addFile('icon.png', open('images/icon.png', 'rb'))
passfile.create('certificate.pem', 'key.pem', 'wwdr.pem', '123456', 'test.pkpass')

Requires Apple Pass Type ID, exported certificate.pem, key.pem, and WWDR certificate (wwdr.pem); OpenSSL must be available to generate .pem files from Apple's Certificates.p12.

Verify before relying

  • Whether the package works reliably with modern Python 3 versions beyond 3.5 (last tested version in classifiers).
  • Current compatibility with Apple's PassKit specification and whether generated passes work with current iOS/macOS versions.
  • Whether any security fixes or dependency updates are needed given the 2018 last release date.

Package facts

License Copyright (c) 2012 devartis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software… (full text in the JSON record) (unclear)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 2,797 days since the last release
First released
Downloads 205,310/month — #9,590 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: wallet-py3k-0.0.4.tar.gz

Development Status :: 3 - AlphaEnvironment :: Other EnvironmentIntended Audience :: DevelopersProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.5Topic :: Software Development :: Libraries :: Python Modules

Tags

apple wallet pkpass generatorpassbook file creation pythonios pass type id signingwallet certificate signingcreate apple wallet passes
apple-walletpkpass-generationcertificate-signing

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-PassKit

Provides Python bindings to Apple's PassKit…

permissive · top 15,000 on PyPI

pyapns-client

Sends Apple Push Notifications to iOS, macOS,…

permissive · top 5,000 on PyPI

developer-disk-image

Fetches Apple's DeveloperDiskImage files…

copyleft · top 15,000 on PyPI

pyobjc-framework-Security

Provides Python bindings to macOS's native…

permissive · top 5,000 on PyPI

py-builder-signing-sdk

Generates cryptographically signed HTTP headers…

permissive · top 15,000 on PyPI

app-store-server-library

Provides Python bindings to Apple's App Store…

permissive · top 5,000 on PyPI

pyobjc-framework-SecurityFoundation

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

apns2-up

Sends push notifications to iOS devices through…

permissive · top 15,000 on PyPI

pyimg4

PyIMG4 parses Apple's Image4 format through a…

permissive · top 15,000 on PyPI

bittensor-wallet

Manages cryptographic keys and wallets for the…

permissive · top 15,000 on PyPI