Skip to main content

Yandex.Checkout API Python Client Library

Build Status Latest Stable Version Total Downloads License

Russian | English

This product is used for managing payments under The Yandex.Checkout API For usage by those who implemented Yandex.Checkout using the API method.

Requirements

  1. Python 2.7 or Python 3.x
  2. pip

Installation

Under console using pip

  1. Install pip.
  2. In the console, run the following command:
pip install --upgrade yandex_checkout

Under console using easy_install

  1. Install easy_install.
  2. In the console, run the following command:
easy_install --upgrade yandex_checkout

Manually

  1. In the console, run the following command:
wget https://pypi.python.org/packages/5a/be/5eafdfb14aa6f32107e9feb6514ca1ad3fe56f8e5ee59d20693b32f7e79f/yandex_checkout-1.0.0.tar.gz#md5=46595279b5578fd82a199bfd4cd51db2
tar zxf yandex_checkout-1.0.0.tar.gz
cd yandex_checkout-1.0.0
python setup.py install

Commencing work

  1. Import module
import yandex_checkout
  1. Configure a Client
from yandex_checkout import Configuration

Configuration.configure('<Account Id>', '<Secret Key>')

or

from yandex_checkout import Configuration

Configuration.account_id = '<Account Id>'
Configuration.secret_key = '<Secret Key>'

or via oauth

from yandex_checkout import Configuration

Configuration.configure_auth_token('<Oauth Token>')

If you agree to participate in the development of the SDK, you can submit data about your framework, cms or module:

from yandex_checkout import Configuration
from yandex_checkout.domain.common.user_agent import Version

Configuration.configure('<Account Id>', '<Secret Key>')
Configuration.configure_user_agent(
    framework=Version('Django', '2.2.3'),
    cms=Version('Wagtail', '2.6.2'),
    module=Version('Y.CMS', '0.0.1')
)
  1. Call the required API method. More details in our documentation for the Yandex.Checkout API

Metadata

Release files for yandex-checkout 1.6.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yandex-checkout 1.6.5
File Size Uploaded Provenance Actions
yandex-checkout-1.6.5.tar.gz 44.4 kB Without provenance Details for yandex-checkout-1.6.5.tar.gz

Release files / yandex-checkout-1.6.5.tar.gz

Download URL yandex-checkout-1.6.5.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b6eac6cf58f83789fa90c8b6d74365e87f2f35ff028729784983cf9aee99c956
BLAKE2b-256 checksum
How to use checksums
d731f7340da150fe992f4b92568a7c668c69fa64f267167aa68839bdb897a44f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for yandex-checkout 1.6.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page