The repository or configuration that created this release differ from a previous release. View details.
×
Documentation: gocream-labs.github.io/pysberbank
Python-клиент для унаследованного API СберБанка, который ЮKassa сохраняет для компаний, перешедших из Сбера. Это не клиент для современного API ЮKassa.
Описание протокола - инструкция ЮKassa.
Архивные материалы СберБанка - документация API и тестовые карты.
Installation
Требуется Python 3.10 или новее.
pip install gocream-pysberbank
Для предварительных версий используйте pip install --pre gocream-pysberbank.
from gocream_pysberbank import SberbankClient
from gocream_pysberbank.constants import DESCRIPTION_BY_ACTION_CODE
Для совместимости с прежним API сохранены имена Sberbank и
SberbankPaymentApi.
Quick Start
from gocream_pysberbank import SberbankClient
client = SberbankClient(
username="merchant-api",
password="password-from-secret-storage",
url="https://gateway.example/payment/{api_type}/{method}",
)
Замените URL адресом шлюза из настроек вашего подключения. Если url не передан, используется исторический адрес https://3dsec.sberbank.ru/payment/{api_type}/{method}. Вместо пары username/password можно передать token.
Клиент предоставляет методы register, reverse, refund, order_status и order_status_extended. Параметры **kwargs передаются в Requests; это не произвольные параметры платёжного API. По умолчанию timeout равен (3, 27) секундам на соединение и чтение.
При переходе со старого пакета замените импорты pysberbank на gocream_pysberbank, включая пути моков и имя логгера.
Documentation
- API Reference: Client, Payments, Order Status, Exceptions, Constants.
- Project: Known Issues, Roadmap, Changelog.
- Development: Contributing, Releasing.
Metadata
Release files for gocream-pysberbank 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gocream_pysberbank-1.0.0.tar.gz | 45.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gocream_pysberbank-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.8 kB
Release files / gocream_pysberbank-1.0.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | gocream_pysberbank-1.0.0.tar.gz |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9828831e9318037a402b34dabccf845470a8303d9b64ae05f9ad5226ca3f68c
|
|
BLAKE2b-256 checksum How to use checksums |
0a91107527b544ab081a081600e0839b65f3ecec0a2f52d8e7382487c8914ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / gocream_pysberbank-1.0.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | gocream_pysberbank-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86b9824a585f9e435abcd85ccfb69c76d921a01316f85367fcab5f0dabd724cf
|
|
BLAKE2b-256 checksum How to use checksums |
b862f0e832280478a4ef7727331b85c77a644155c305ebc2ecb17033e754be7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logSecurity for gocream-pysberbank 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The configuration that created this release differs from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Configuration
- Removed 1.0.0rc1 prerelease.yml
- Added 1.0.0 release.yml
Attestation for gocream_pysberbank-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.