Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

GoCream Labs × CDEK

PyPI - Status PyPI - Version PyPI - Downloads PyPI - Python Version

Tests - Running Release - Running Coverage

Hatch project Gitmoji Built with Material for MkDocs linting - Ruff License - Mozilla Public License Version 2.0

Документация: gocream-labs.github.io/pycdek

gocream-pycdek — Python-библиотека для работы с CDEK API v2.0.

Установка

pip install gocream-pycdek

Стабильной версии пока нет, поэтому команда выше поставит последний release candidate. После выхода 2.0.0 предварительные версии ставятся флагом --pre:

pip install --pre gocream-pycdek

Импорт в Python выполняется через пакет gocream_pycdek:

from gocream_pycdek.client import CDEKApiClient

Быстрый старт

from gocream_pycdek.client import CDEKApiClient


client = CDEKApiClient(
    id="client-id",
    secret="client-secret",
    is_shop=True,
)

regions = client.get_regions()

Параметр production=False переключает клиент на тестовый контур СДЭК.

Статус проекта

Библиотека находится в процессе актуализации. Версия 2.0.0 сохраняет публичное API текущей беты 2.0.0b9, а версия 3.0.0 будет содержать ломающие изменения.

Дополнительные материалы

Лицензия

Проект распространяется по лицензии MPL-2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gocream_pycdek-2.0.0rc2.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gocream_pycdek-2.0.0rc2-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file gocream_pycdek-2.0.0rc2.tar.gz.

File metadata

  • Download URL: gocream_pycdek-2.0.0rc2.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gocream_pycdek-2.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 828e165b33c297e5d347785a7359affea74c6e665f152025f1fd55c606d5228e
MD5 e23eed3942fff349a74c6c0bd139933a
BLAKE2b-256 f674c254b9c4c2a55ffd960e8cf6909a4d113d0f2a435901c7a3e0324ae6c05b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gocream_pycdek-2.0.0rc2.tar.gz:

Publisher: prerelease.yml on gocream-labs/pycdek

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gocream_pycdek-2.0.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for gocream_pycdek-2.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 0241df8459f01a0042d0d7ec3377c7da7dd6690991de665be74b13fcfc1c48b9
MD5 56e2c814bfae31b471539d5c6c656618
BLAKE2b-256 b4d8d6dfad98ceeb411fe5e504243f899a30ca68dafe4653b447c3e84c80fbb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gocream_pycdek-2.0.0rc2-py3-none-any.whl:

Publisher: prerelease.yml on gocream-labs/pycdek

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.0.0rc2 This release

2 files

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