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

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.1.6.tar.gz (236.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-2.1.6-py3-none-any.whl (261.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lingxingapi-2.1.6.tar.gz
Algorithm Hash digest
SHA256 f178fba7539803c4cbd27c3041615e8744f5bc38869f116a605518118f5c6ccc
MD5 0128c5c299a6c947c52bad8a89f412b6
BLAKE2b-256 c82ce4003fea29144079175eaad2ea75032a076259e8043a366071e6c5defdd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lingxingapi-2.1.6-py3-none-any.whl
  • Upload date:
  • Size: 261.0 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.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f148f1fc62f493062d88af1601daeb1a18ea97d129b9d297d02ece7d5cb9e123
MD5 ee50eddf5301046845c761e3069b974f
BLAKE2b-256 7e0d663feadce49cbe149751bc581ff8bdd5a1836528e51601571b056137a16d

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