This release is a pre-release and may not be stable for production use.
×
Документация: 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 будет содержать ломающие изменения.
Дополнительные материалы
- Справочник публичного API
- Известные проблемы
- План развития
- Участие в разработке
- Процесс релиза и версионирования
- История изменений
- Официальная документация CDEK API
Лицензия
Проект распространяется по лицензии 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
828e165b33c297e5d347785a7359affea74c6e665f152025f1fd55c606d5228e
|
|
| MD5 |
e23eed3942fff349a74c6c0bd139933a
|
|
| BLAKE2b-256 |
f674c254b9c4c2a55ffd960e8cf6909a4d113d0f2a435901c7a3e0324ae6c05b
|
Provenance
The following attestation bundles were made for gocream_pycdek-2.0.0rc2.tar.gz:
Publisher:
prerelease.yml on gocream-labs/pycdek
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gocream_pycdek-2.0.0rc2.tar.gz -
Subject digest:
828e165b33c297e5d347785a7359affea74c6e665f152025f1fd55c606d5228e - Sigstore transparency entry: 2350703068
- Sigstore integration time:
-
Permalink:
gocream-labs/pycdek@6b3ebf447223f5ec884f5688fbcfc7444f818cc2 -
Branch / Tag:
refs/heads/next - Owner: https://github.com/gocream-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
prerelease.yml@6b3ebf447223f5ec884f5688fbcfc7444f818cc2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gocream_pycdek-2.0.0rc2-py3-none-any.whl.
File metadata
- Download URL: gocream_pycdek-2.0.0rc2-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0241df8459f01a0042d0d7ec3377c7da7dd6690991de665be74b13fcfc1c48b9
|
|
| MD5 |
56e2c814bfae31b471539d5c6c656618
|
|
| BLAKE2b-256 |
b4d8d6dfad98ceeb411fe5e504243f899a30ca68dafe4653b447c3e84c80fbb7
|
Provenance
The following attestation bundles were made for gocream_pycdek-2.0.0rc2-py3-none-any.whl:
Publisher:
prerelease.yml on gocream-labs/pycdek
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gocream_pycdek-2.0.0rc2-py3-none-any.whl -
Subject digest:
0241df8459f01a0042d0d7ec3377c7da7dd6690991de665be74b13fcfc1c48b9 - Sigstore transparency entry: 2350703284
- Sigstore integration time:
-
Permalink:
gocream-labs/pycdek@6b3ebf447223f5ec884f5688fbcfc7444f818cc2 -
Branch / Tag:
refs/heads/next - Owner: https://github.com/gocream-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
prerelease.yml@6b3ebf447223f5ec884f5688fbcfc7444f818cc2 -
Trigger Event:
push
-
Statement type: