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

MysqlEngine is based on several open-source repositories.

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

lingxingapi-1.2.0.tar.gz (220.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.2.0-py3-none-any.whl (243.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8f1b39a59cad8efdd75c39179b6f4319fc8c05f65cd65d8a39f415a3966883aa
MD5 322fc66311810267a1fb46f60595aed8
BLAKE2b-256 8b2790bdd917346a2712c5a7c6b3cc3f4293cbb10b7f5b7a5670ab98a8135251

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 743d065e4ef6ecd6dc47be277dbe3342060eafb25c595ee9c6fc40f97badbf66
MD5 253572c624ad1beec2e5a2b930f75388
BLAKE2b-256 860841128775306a41775cca0f33f27243dbaf13eada1f868d309777d7984ec0

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