$npx skillfedfor your agent

app-store-server-library

The App Store Server Library

Worth itPyPI WWW/HTTPReleased Jun 2026985.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — app_store_server_library-3.1.2-py3-none-any.whl
v3.1.2 · released 2026-06-01 · Python <4,>=3.7 · 7 runtime deps: attrs, PyJWT, requests, cryptography, pyOpenSSL, asn1, cattrs

Yes. This is Apple's official library, actively maintained, with no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you are building a Python backend for an iOS app that uses in-app purchases or subscriptions and need to validate receipts and handle App Store notifications server-side.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an In-App Purchase key (p8 file) and issuer ID obtained from App Store Connect with Admin role; Python 3.7 or later.
  • Low install friction with a pure-Python wheel and well-maintained dependencies.
  • The package is actively maintained and requires Python 3.7 or later, with no compiled extensions to build.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.

last release 2026-06-01 (74 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 985,937 downloads/mo, #4,573 on PyPI

Verify before relying

pip install app-store-server-library

from app-store-server-library import AppStoreServerAPIClient
from app-store-server-library import Environment

private_key = read_private_key("/path/to/SubscriptionKey_ABCDEFGHIJ.p8")
client = AppStoreServerAPIClient(private_key, key_id, issuer_id, bundle_id, Environment.SANDBOX)
response = client.request_test_notification()
  • Whether the async HTTPX support (optional dependency) is production-ready and what versions of httpx it requires.
  • Performance characteristics when handling high-volume transaction history queries or concurrent API calls.
  • Exact scope of the Advanced Commerce API support mentioned in the description.
Same gist for agents: .md · .json

What it is and what it does

This is Apple's official Python library for integrating server-side App Store operations into Python applications. It wraps the App Store Server API, App Store Server Notifications, Retention Messaging API, and Advanced Commerce API, handling the cryptographic details of JWT signing, signed data verification, and receipt parsing so developers don't have to implement these protocols manually.

The library manages authentication to Apple's servers using private keys, verifies cryptographically signed notifications and receipts from Apple, extracts transaction history, and generates promotional offer signatures. It depends on cryptography, PyJWT, requests, and related libraries to handle the underlying security operations. Developers use it to validate purchases, manage subscriptions, respond to subscription events, and create time-limited promotional pricing—all the server-side tasks needed to monetize iOS apps.

Use it for

  • Validate in-app purchase receipts and transaction history from iOS apps in your backend.
  • Listen to and verify signed App Store Server Notifications (subscription events, refunds, etc.) via webhooks.
  • Generate cryptographically signed promotional offer codes for time-limited subscription discounts.
  • Query transaction history for a user to reconcile subscriptions and detect refunds or cancellations.
  • Implement retention messaging campaigns by integrating with Apple's Retention Messaging API.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is Apple's official library, actively maintained, with no known vulnerabilities, low install friction, and a permissive MIT license. Install it if you are building a Python backend for an iOS app that uses in-app purchases or subscriptions and need to validate receipts and handle App Store notifications server-side.

Install

app-store-server-library on PyPI

Before you install

Low install friction with a pure-Python wheel and well-maintained dependencies. The package is actively maintained and requires Python 3.7 or later, with no compiled extensions to build.

Requires an In-App Purchase key (p8 file) and issuer ID obtained from App Store Connect with Admin role; Python 3.7 or later.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.

Quickstart

pip install app-store-server-library

from app-store-server-library import AppStoreServerAPIClient
from app-store-server-library import Environment

private_key = read_private_key("/path/to/SubscriptionKey_ABCDEFGHIJ.p8")
client = AppStoreServerAPIClient(private_key, key_id, issuer_id, bundle_id, Environment.SANDBOX)
response = client.request_test_notification()

Verify before relying

  • Whether the async HTTPX support (optional dependency) is production-ready and what versions of httpx it requires.
  • Performance characteristics when handling high-volume transaction history queries or concurrent API calls.
  • Exact scope of the Advanced Commerce API support mentioned in the description.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
attrsPyJWTrequestscryptographypyOpenSSLasn1cattrs
MaintenanceActively maintained 74 days since the last release
First released
Downloads985,937 / month, #4,573 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT License

Evidence: app_store_server_library-3.1.2-py3-none-any.whl

Tags

Capabilities
app store server api pythonin-app purchase verificationapple subscription managementapp store notificationsios receipt validationpromotional offer signaturesapp store connect integration
Topics
app-store-integrationcryptographic-verificationsubscription-management

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “app store server api python”

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also pyobjc-framework-StoreKit · aioapns · wallet-py3k · pyapns-client · pushover-complete · apns2-up · sigstore · standardwebhooks · urbanairship · pyobjc-framework-PushKit