Skip to main content

Python client for Symfonia WebAPI (sync + async).

Project description

SymfWebAPI

CI PyPI version Python versions License

Pythonowa biblioteka kliencka do Symfonia WebAPI (sync + async) z typowanymi modelami i wygenerowanymi kontrolerami.

Instalacja

pip install SymfWebAPI

Szybki start

from SymfWebAPI import ClientConfig, WebAPI, build_async_client

config = ClientConfig(
    domain="host:9000",
    application_key="00000000-0000-0000-0000-000000000000",
    device_name="integration-client",
)

async with build_async_client(config) as api:
    resp = await WebAPI.Interface.Products.Interfaces.IProductsController.Get(api, salePrices=False)
    products = resp.unwrap()
    print(len(products))

Dokumentacja

  • Omówienie biblioteki: docs/overview.md
  • Przykłady: examples/

Benchmark bez sekretów

Przykład benchmarku znajduje się w:

  • examples/benchmark_order_details.py

Konfiguracja przez zmienne środowiskowe (brak hardcode klucza):

  • SYMFWEBAPI_DOMAIN
  • SYMFWEBAPI_APP_KEY
  • SYMFWEBAPI_DEVICE_NAME (opcjonalnie)
  • SYMFWEBAPI_HTTPS (opcjonalnie, np. true/false)

Wersjonowanie

Wersja paczki ma format X.WM.Wm.I, np. 1.26.10.3:

  • X - major SDK,
  • WM.Wm - docelowa wersja Symfonia WebAPI,
  • I - iteracja SDK dla tej samej wersji WebAPI.

Licencja

BSD-3-Clause.

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

symfwebapi-1.26.10.1.tar.gz (121.4 kB view details)

Uploaded Source

Built Distribution

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

symfwebapi-1.26.10.1-py3-none-any.whl (256.9 kB view details)

Uploaded Python 3

File details

Details for the file symfwebapi-1.26.10.1.tar.gz.

File metadata

  • Download URL: symfwebapi-1.26.10.1.tar.gz
  • Upload date:
  • Size: 121.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for symfwebapi-1.26.10.1.tar.gz
Algorithm Hash digest
SHA256 02c3a602a4861e92853f4a40db8ba8a0ebc5853572b73ab1f6a2562a03bffc9f
MD5 ba8793c0131b5414e2dc9ce8ccc35d85
BLAKE2b-256 946d234568a3446cc126eb20bc2f190cf12ec4f57fa85f4628b8d374a9b54aed

See more details on using hashes here.

Provenance

The following attestation bundles were made for symfwebapi-1.26.10.1.tar.gz:

Publisher: public-ci-release.yml on maku2903/symf-webapi-py

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

File details

Details for the file symfwebapi-1.26.10.1-py3-none-any.whl.

File metadata

  • Download URL: symfwebapi-1.26.10.1-py3-none-any.whl
  • Upload date:
  • Size: 256.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for symfwebapi-1.26.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e932e758a3f1a36272898993c198e89ab284afa62a7ef17b5bdb3a108941d3
MD5 dd5de85399840478f886976d1b23f7d4
BLAKE2b-256 844299f37807a5324bad1afa4cbae008faa16b39cd45b662e08bf0a98b9baf76

See more details on using hashes here.

Provenance

The following attestation bundles were made for symfwebapi-1.26.10.1-py3-none-any.whl:

Publisher: public-ci-release.yml on maku2903/symf-webapi-py

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

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