Skip to main content

An async API client for LingXing (领星) ERP

Project description

An async API client for LingXing (领星) ERP

Created to be used in a project, this package is published to github for ease of management and installation across different modules.

Installation

Install from PyPi

pip install lingxingapi

Install from github

pip install git+https://github.com/AresJef/LingXingApi.git

Requirements

  • Python 3.10 or higher.

Example

from lingxingapi import API

# Context Manager
async def test(self, app_id: str, app_secret: str) -> None:
    async with API(app_id, app_secret) as api:
        sellers = await api.basic.Sellers()

# Close Manually
async def test(self, app_id: str, app_secret: str) -> None:
    api = API(app_id, app_secret)
    sellers = await api.basic.Sellers()
    await api.close()

Acknowledgements

LingXingApi is based on several open-source repositories.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

lingxingapi-1.9.0.tar.gz (225.3 kB view details)

Uploaded Source

Built Distribution

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

lingxingapi-1.9.0-py3-none-any.whl (248.8 kB view details)

Uploaded Python 3

File details

Details for the file lingxingapi-1.9.0.tar.gz.

File metadata

  • Download URL: lingxingapi-1.9.0.tar.gz
  • Upload date:
  • Size: 225.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lingxingapi-1.9.0.tar.gz
Algorithm Hash digest
SHA256 b99e95a7b5eae382099ae28d707c7f45da644d3321e28a546d873b86cd4856fb
MD5 8803a8a2bec4a5a3683054a7bda778f5
BLAKE2b-256 2ddff5f573093b5193bd4e0340c5de0aef59fa25f263c2b2280dff0a5273cb0c

See more details on using hashes here.

File details

Details for the file lingxingapi-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: lingxingapi-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 248.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lingxingapi-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a57a4bdb44794f0a5041b4f116104d0234586960b2af640b3e0a0acec8d70d57
MD5 2be3a11b31bb96ab19c6aa8ba5ea700b
BLAKE2b-256 036970cf26cc1859cc2257b95604065c49396f71d6147e9f5da51113111a06ae

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