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.0.7.tar.gz (217.6 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.0.7-py3-none-any.whl (241.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-1.0.7.tar.gz
Algorithm Hash digest
SHA256 87e7b27625c18b44cb343e2d4b9ee0db7c28f941710b64cb05708e975210118b
MD5 f15c74133c5ea73a80a9a2bdc6746f98
BLAKE2b-256 12f1cd47c386c8a8d70686df05779a53a61dad222efda5c14352f95cb5447ced

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lingxingapi-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 241.1 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.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 60f67c76f9383e546046e5b1df4c007eb23488c49466e3006e296f52e4425927
MD5 64aca8ca834e64e75d6a615241aaaeed
BLAKE2b-256 83fa82c48495a1b21f039e8786328bd12b1ed0a29e97a2ea031fe4a3392bab6b

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