Skip to main content

Python client for Dellin API

Project description

dellin

Python‑клиент для Dellin API (заказы). Минимальный, типизированный каркас на базе requests.

Установка

  • Из исходников (для разработки):
    • python -m venv .venv && .\.venv\Scripts\activate
    • pip install -e .[dev]

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

from dellin.api import DellinOrdersClient

client = DellinOrdersClient(appkey="YOUR_APPKEY")
session_id = client.login(login="user", password="pass")
orders = client.list_orders(receiver_inn="7700000000")
print(len(orders))

Пример запуска: python examples/basic.py

Команды разработки

  • Тесты: pytest
  • Линт/формат/типы: ruff check . | black . | mypy src
  • Сборка пакета: python -m build (артефакты в dist/)

Структура

  • src/dellin/ — код пакета (api.py, __init__.py, py.typed)
  • tests/ — базовые тесты pytest
  • examples/ — примеры использования

Лицензия

MIT — см. файл LICENSE.

Project details


Download files

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

Source Distribution

dellin-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

dellin-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file dellin-0.1.0.tar.gz.

File metadata

  • Download URL: dellin-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for dellin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5532c5c8315337848dd18a43d4263b34ee6c5e113294299966b9aff8d05fc5d
MD5 e1e7dd31278deb165ac73a1e9c3757c8
BLAKE2b-256 e1dd612d85506f02dd2580b7f5166f691746ab553e4cc0cfbfab8e05430d7d99

See more details on using hashes here.

File details

Details for the file dellin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dellin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for dellin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0691df561bbc340ba3473010953e8a637569bcd9213bc7b8c9f256f0a34db188
MD5 9e4f5089f30c71614aa0d15118092f88
BLAKE2b-256 a43657057234fc30a9a9cbb0d20e51d9b69dfe58025a318b18412bd43c54d638

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page