{"id":13905692,"url":"https://github.com/fzlee/alipay","last_synced_at":"2026-10-19T13:51:24.126Z","repository":{"id":37432412,"uuid":"74120580","full_name":"fzlee/alipay","owner":"fzlee","description":"Python Alipay(支付宝) SDK with SHA1/SHA256 support","archived":false,"fork":false,"pushed_at":"2026-03-16T16:49:44.000Z","size":304,"stargazers_count":1340,"open_issues_count":1,"forks_count":375,"subscribers_count":38,"default_branch":"master","last_synced_at":"2026-09-27T07:48:20.938Z","etag":null,"topics":["alipay","alipay-apis","python","python-alipay","python-alipay-sdk","sha1withrsa","sha256withrsa"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fzlee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-11-18T10:37:16.000Z","updated_at":"2026-09-26T01:00:51.000Z","dependencies_parsed_at":"2023-12-06T12:41:59.598Z","dependency_job_id":"748b0a76-b1fc-4bfa-a395-c23fddac5715","html_url":"https://github.com/fzlee/alipay","commit_stats":{"total_commits":194,"total_committers":23,"mean_commits":8.434782608695652,"dds":"0.38144329896907214","last_synced_commit":"0d1a1c970b7829ccf726dee75e0920aa32b8a73b"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"purl":"pkg:github/fzlee/alipay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzlee%2Falipay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzlee%2Falipay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzlee%2Falipay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzlee%2Falipay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fzlee","download_url":"https://codeload.github.com/fzlee/alipay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzlee%2Falipay/sbom","scorecard":{"id":415701,"data":{"date":"2025-08-11","repo":{"name":"github.com/fzlee/alipay","commit":"4f4887e7105ae4c8fed04cf2a9a5dbc3ba16c9e8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":1,"reason":"Found 5/28 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/upload-to-pypi.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload-to-pypi.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/fzlee/alipay/upload-to-pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/upload-to-pypi.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/fzlee/alipay/upload-to-pypi.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/upload-to-pypi.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/fzlee/alipay/upload-to-pypi.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/upload-to-pypi.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/upload-to-pypi.yml:20","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw","Warn: Project is vulnerable to: PYSEC-2024-3 / GHSA-j225-cvw7-qrx7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T23:47:01.503Z","repository_id":37432412,"created_at":"2025-08-18T23:47:01.503Z","updated_at":"2025-08-18T23:47:01.503Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38357882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alipay","alipay-apis","python","python-alipay","python-alipay-sdk","sha1withrsa","sha256withrsa"],"created_at":"2024-08-06T23:01:21.345Z","updated_at":"2026-10-19T13:51:23.771Z","avatar_url":"https://github.com/fzlee.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"## python-alipay-sdk\n[![PyPI version](https://badge.fury.io/py/python-alipay-sdk.svg)](https://badge.fury.io/py/python-alipay-sdk) [![codecov](https://codecov.io/gh/fzlee/alipay/branch/master/graph/badge.svg)](https://codecov.io/gh/fzlee/alipay) ![travis-ci](https://travis-ci.org/fzlee/alipay.svg?branch=master)\n## [中文文档](./README.zh-hans.md)\n\n## Unofficial AliPay Python SDK\n\nTaking a look at [this guide](https://ifconfiger.com/articles/python-alipay-sdk) if you are interested at the details on signing your order requests.\n\n## GUIDES\n* [Preparation](./docs/preparation.md)\n* [Initialization \u0026 validation](./docs/init.md)\n* [API](./docs/apis.md)\n* [Advanced API, introduced in 3.0](./docs/apis_new.md)\n\n## What's new in 3.0 and how to migrate to 3.0\n3.0 introduced two new functions: `client_api` and `server_appi` as a replacement of old-styled function based api .\n\n3.0 keeps backward compatibility with 2.*, The only thing you should keep in mind is `Alipay.verify` won't pop `sign` from `data` automatically, you should handle it by yourself.  \n\n## Test\n```bash\npython -m unittest discover\n```\n\nOr you may do test manually in this way, `debug=True` will direct your request to sandbox environment:\n```python\nalipay = AliPay(..., debug=True)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzlee%2Falipay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffzlee%2Falipay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzlee%2Falipay/lists"}