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.1.3.tar.gz (219.9 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.1.3-py3-none-any.whl (243.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c5f965969a41bfb540f297fa7aac2b7a71ab165cd940fb94ba653877af17897a
MD5 e7575a2198921aedf66e2c268d8828f5
BLAKE2b-256 eaea01bd65aa2246bebbec2fe03b319238a63ad8f3187cb58b1550fa29d54638

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lingxingapi-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 243.3 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7546edd8caec091c227b116be0b812f91c83089b465e2b5d3c2194ec35d98089
MD5 1496bfe2ba03951d456434b0753461e3
BLAKE2b-256 27f23525180cdd6c11e39957f45e61696a20f17ad49011961002b7e53411214b

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