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

This version

2.0.1

Download files

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

Source Distribution

lingxingapi-2.0.1.tar.gz (229.0 kB view details)

Uploaded Source

Built Distribution

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

lingxingapi-2.0.1-py3-none-any.whl (252.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-2.0.1.tar.gz
Algorithm Hash digest
SHA256 8de2b81655a30b7a8bacbb57aadae40ce7e24cb1870ff4eff54313583a318e50
MD5 fd0feccef786e636785150ffa7c8c37d
BLAKE2b-256 7bfb9fda2b467cfc124f9ab60143bdfc81b5f5c9fa10816bfbbbb95afbbbd6b9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a489d61e062df864570673fe3f2a7110f7b7099ccb32e21916f0d8fde6f5fe26
MD5 50b89bd36be6ae7b0c850ab51f1483c0
BLAKE2b-256 dfae870c3d5ab060616c093abcfa65289275b565c5f0a2aac2655c49cd205049

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