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.7.2.tar.gz (224.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.7.2-py3-none-any.whl (248.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lingxingapi-1.7.2.tar.gz
  • Upload date:
  • Size: 224.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.7.2.tar.gz
Algorithm Hash digest
SHA256 40b8185057295e228161e5c1d07e010f2e9f8a94a346eb425f1f8dd1f8d02bc6
MD5 2fa2b62fbd0094200371fe2827baf33c
BLAKE2b-256 4d911445542868014254090957d884747fb36148d25c621eef61d2c2e6260a4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lingxingapi-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 248.0 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.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d77bcc132f3007f572908e952bb89f55a0f898d417b74970d8869927aba3af6
MD5 6c6a9b4b10367a83e0ac972ffdd9e4eb
BLAKE2b-256 fb783a2f15653484585fb64951b60baff0d02ef63ab424e9fbb49603d3bf4569

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