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.3.1.tar.gz (220.4 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.3.1-py3-none-any.whl (243.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-1.3.1.tar.gz
Algorithm Hash digest
SHA256 f22c68c1f9b3e181fabe44c96d3a59584a1d2cfbd834c12e8e97d3a2d8231a2f
MD5 f9d8ef433f21465c1b3625bbf61fc185
BLAKE2b-256 5ae7a59686ea7d4ad0456e984392672e8dede84fed16ec819ada299b2835a4f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lingxingapi-1.3.1-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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e749e6eaf5228f0c4fc89c7763ac1b87dcad4a814c40293972700cf735238f6d
MD5 345bf5f2fa41a410458e15dad89e2293
BLAKE2b-256 0f5261be2a4358a9c6d7fee7e0e3a65cc643d78aa0fb42d49f3a09ac040ad75c

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