# fzlee/alipay

Python Alipay(支付宝) SDK with SHA1/SHA256 support

Repository: https://github.com/fzlee/alipay
Canonical: https://ross.abutalabs.com/products/fzlee-alipay
Language: Python
License: NOASSERTION
License Family: other
Topics: alipay, python-alipay-sdk, sha256withrsa, sha1withrsa, python, alipay-apis, python-alipay
Last push: 2026-03-16T16:49:44+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 72, release rhythm 35, longevity 100
- inputs: {"age_days": 3575, "days_push": 170, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1339, forks 375 (observed 2026-08-28T04:04:25.868076+00:00)

## What it is
An unofficial Python SDK for Alipay (支付宝) that supports SHA1 and SHA256 with RSA request signing and verification. It provides client and server APIs for integrating Alipay payments into Python applications, with sandbox support for testing.

## Use cases
- integrate alipay payments into a django or flask app
- sign and verify alipay order requests in python
- test alipay payment flow in sandbox environment
- generate signed payment requests with sha256withrsa
- verify alipay callback signatures
- build a python backend that accepts alipay as a payment method

## When to choose
- your Python backend needs to talk to Alipay's payment APIs
- you need RSA signing (SHA1/SHA256) for Alipay order requests and callback verification
- you want a lightweight SDK rather than a full payment platform abstraction

## When to avoid
- you need WeChat Pay, Stripe, or other payment providers - this is Alipay-only
- you need an officially supported SDK with vendor support
- your project is not in Python

## Facets
- artifact type: library
- maturity: active
- function: sdk, auth, security
- domain: fintech, e-commerce, apis, backend
- platform: python, cross-platform
- tags: alipay, payment-gateway, rsa-signing, unofficial-sdk, payment-integration

## Member repositories
- fzlee/alipay (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:25.868076+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:43:54.677301+00:00, confidence not recorded.
  - readme: https://github.com/fzlee/alipay (fetched 2026-08-28T04:04:25.868076+00:00, sha d809b4d20018)
- Data as of 2026-08-30T08:39:29.467469+00:00.
