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

LingXingApi is based on several open-source repositories.

Project details


Release history Release notifications | RSS feed

This version

2.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lingxingapi-2.0.0.tar.gz (229.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lingxingapi-2.0.0-py3-none-any.whl (252.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-2.0.0.tar.gz
Algorithm Hash digest
SHA256 0d17e55436cc3d06bd99def8f7db97307846c6c6e3e2b5fbf617f2bc16b04aee
MD5 c9cde1c1db3ad03d5e602b3a63b3ed34
BLAKE2b-256 a9bc7f07826ba47a973a2a8e133513836d0ecbe4d79ff7e17180a1dbacb441f6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf17901cc23d4e8e123e101ca070bb9bf1b59fd6c2f31d4bb61276aa90fabfb
MD5 379327d0f75ec2856785b1d197050366
BLAKE2b-256 6158492b492a69565e10bf1b7ef743031112ef504e3482d64633b0e34615c3f7

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