lingxingapi 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lingxingapi might be problematic. Click here for more details.
- lingxingapi-1.0.0/LICENSE +22 -0
- lingxingapi-1.0.0/MANIFEST.in +7 -0
- lingxingapi-1.0.0/PKG-INFO +67 -0
- lingxingapi-1.0.0/README.md +42 -0
- lingxingapi-1.0.0/pyproject.toml +6 -0
- lingxingapi-1.0.0/setup.cfg +40 -0
- lingxingapi-1.0.0/src/lingxingapi/__init__.py +7 -0
- lingxingapi-1.0.0/src/lingxingapi/ads/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/ads/api.py +5946 -0
- lingxingapi-1.0.0/src/lingxingapi/ads/param.py +192 -0
- lingxingapi-1.0.0/src/lingxingapi/ads/route.py +134 -0
- lingxingapi-1.0.0/src/lingxingapi/ads/schema.py +2615 -0
- lingxingapi-1.0.0/src/lingxingapi/api.py +443 -0
- lingxingapi-1.0.0/src/lingxingapi/base/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/base/api.py +409 -0
- lingxingapi-1.0.0/src/lingxingapi/base/param.py +59 -0
- lingxingapi-1.0.0/src/lingxingapi/base/route.py +11 -0
- lingxingapi-1.0.0/src/lingxingapi/base/schema.py +198 -0
- lingxingapi-1.0.0/src/lingxingapi/basic/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/basic/api.py +466 -0
- lingxingapi-1.0.0/src/lingxingapi/basic/param.py +72 -0
- lingxingapi-1.0.0/src/lingxingapi/basic/route.py +20 -0
- lingxingapi-1.0.0/src/lingxingapi/basic/schema.py +212 -0
- lingxingapi-1.0.0/src/lingxingapi/errors.py +143 -0
- lingxingapi-1.0.0/src/lingxingapi/fba/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/fba/api.py +1691 -0
- lingxingapi-1.0.0/src/lingxingapi/fba/param.py +250 -0
- lingxingapi-1.0.0/src/lingxingapi/fba/route.py +30 -0
- lingxingapi-1.0.0/src/lingxingapi/fba/schema.py +987 -0
- lingxingapi-1.0.0/src/lingxingapi/fields.py +50 -0
- lingxingapi-1.0.0/src/lingxingapi/finance/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/finance/api.py +3091 -0
- lingxingapi-1.0.0/src/lingxingapi/finance/param.py +616 -0
- lingxingapi-1.0.0/src/lingxingapi/finance/route.py +44 -0
- lingxingapi-1.0.0/src/lingxingapi/finance/schema.py +1243 -0
- lingxingapi-1.0.0/src/lingxingapi/product/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/product/api.py +2643 -0
- lingxingapi-1.0.0/src/lingxingapi/product/param.py +934 -0
- lingxingapi-1.0.0/src/lingxingapi/product/route.py +49 -0
- lingxingapi-1.0.0/src/lingxingapi/product/schema.py +1004 -0
- lingxingapi-1.0.0/src/lingxingapi/purchase/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/purchase/api.py +496 -0
- lingxingapi-1.0.0/src/lingxingapi/purchase/param.py +126 -0
- lingxingapi-1.0.0/src/lingxingapi/purchase/route.py +11 -0
- lingxingapi-1.0.0/src/lingxingapi/purchase/schema.py +215 -0
- lingxingapi-1.0.0/src/lingxingapi/sales/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/sales/api.py +3200 -0
- lingxingapi-1.0.0/src/lingxingapi/sales/param.py +723 -0
- lingxingapi-1.0.0/src/lingxingapi/sales/route.py +70 -0
- lingxingapi-1.0.0/src/lingxingapi/sales/schema.py +1718 -0
- lingxingapi-1.0.0/src/lingxingapi/source/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/source/api.py +1799 -0
- lingxingapi-1.0.0/src/lingxingapi/source/param.py +176 -0
- lingxingapi-1.0.0/src/lingxingapi/source/route.py +38 -0
- lingxingapi-1.0.0/src/lingxingapi/source/schema.py +1011 -0
- lingxingapi-1.0.0/src/lingxingapi/tools/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/tools/api.py +291 -0
- lingxingapi-1.0.0/src/lingxingapi/tools/param.py +73 -0
- lingxingapi-1.0.0/src/lingxingapi/tools/route.py +8 -0
- lingxingapi-1.0.0/src/lingxingapi/tools/schema.py +169 -0
- lingxingapi-1.0.0/src/lingxingapi/utils.py +411 -0
- lingxingapi-1.0.0/src/lingxingapi/warehourse/__init__.py +0 -0
- lingxingapi-1.0.0/src/lingxingapi/warehourse/api.py +1778 -0
- lingxingapi-1.0.0/src/lingxingapi/warehourse/param.py +506 -0
- lingxingapi-1.0.0/src/lingxingapi/warehourse/route.py +28 -0
- lingxingapi-1.0.0/src/lingxingapi/warehourse/schema.py +926 -0
- lingxingapi-1.0.0/src/lingxingapi.egg-info/PKG-INFO +67 -0
- lingxingapi-1.0.0/src/lingxingapi.egg-info/SOURCES.txt +71 -0
- lingxingapi-1.0.0/src/lingxingapi.egg-info/dependency_links.txt +1 -0
- lingxingapi-1.0.0/src/lingxingapi.egg-info/not-zip-safe +1 -0
- lingxingapi-1.0.0/src/lingxingapi.egg-info/requires.txt +7 -0
- lingxingapi-1.0.0/src/lingxingapi.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
lingxingapi - Copyright (c) 2025 Jifu Chen.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
22
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lingxingapi
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: An async API client for LingXing (领星) ERP
|
|
5
|
+
Home-page: https://github.com/AresJef/LingXingApi
|
|
6
|
+
Author: Jiefu Chen
|
|
7
|
+
Author-email: keppa1991@163.com
|
|
8
|
+
License: MIT license
|
|
9
|
+
Keywords: async,api,lingxing,erp
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Operating System :: Unix
|
|
12
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Requires-Dist: aiohttp>=3.8.4
|
|
18
|
+
Requires-Dist: cytimes>=2.0.7
|
|
19
|
+
Requires-Dist: numpy>=1.25.2
|
|
20
|
+
Requires-Dist: orjson>=3.10.2
|
|
21
|
+
Requires-Dist: pycryptodome>=3.23.0
|
|
22
|
+
Requires-Dist: pydantic>=2.7.4
|
|
23
|
+
Requires-Dist: typing-extensions>=4.9.0
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
## An async API client for LingXing (领星) ERP
|
|
27
|
+
|
|
28
|
+
Created to be used in a project, this package is published to github for ease of management and installation across different modules.
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
Install from `PyPi`
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pip install lingxingapi
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Install from `github`
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
pip install git+https://github.com/AresJef/LingXingApi.git
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Requirements
|
|
45
|
+
|
|
46
|
+
- Python 3.10 or higher.
|
|
47
|
+
|
|
48
|
+
## Example
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
from lingxingapi import API
|
|
52
|
+
|
|
53
|
+
async def test(self, app_id: str, app_secret: str) -> None:
|
|
54
|
+
async with API(app_id, app_secret) as api:
|
|
55
|
+
sellers = await api.basic.Sellers()
|
|
56
|
+
print(sellers)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Acknowledgements
|
|
60
|
+
|
|
61
|
+
MysqlEngine is based on several open-source repositories.
|
|
62
|
+
|
|
63
|
+
- [aiohttp](https://github.com/aio-libs/aiohttp)
|
|
64
|
+
- [cytimes](https://github.com/AresJef/cyTimes)
|
|
65
|
+
- [numpy](https://github.com/numpy/numpy)
|
|
66
|
+
- [orjson](https://github.com/ijl/orjson)
|
|
67
|
+
- [pydantic](https://github.com/pydantic/pydantic)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
## An async API client for LingXing (领星) ERP
|
|
2
|
+
|
|
3
|
+
Created to be used in a project, this package is published to github for ease of management and installation across different modules.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install from `PyPi`
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install lingxingapi
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Install from `github`
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install git+https://github.com/AresJef/LingXingApi.git
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Requirements
|
|
20
|
+
|
|
21
|
+
- Python 3.10 or higher.
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from lingxingapi import API
|
|
27
|
+
|
|
28
|
+
async def test(self, app_id: str, app_secret: str) -> None:
|
|
29
|
+
async with API(app_id, app_secret) as api:
|
|
30
|
+
sellers = await api.basic.Sellers()
|
|
31
|
+
print(sellers)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Acknowledgements
|
|
35
|
+
|
|
36
|
+
MysqlEngine is based on several open-source repositories.
|
|
37
|
+
|
|
38
|
+
- [aiohttp](https://github.com/aio-libs/aiohttp)
|
|
39
|
+
- [cytimes](https://github.com/AresJef/cyTimes)
|
|
40
|
+
- [numpy](https://github.com/numpy/numpy)
|
|
41
|
+
- [orjson](https://github.com/ijl/orjson)
|
|
42
|
+
- [pydantic](https://github.com/pydantic/pydantic)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[metadata]
|
|
2
|
+
name = lingxingapi
|
|
3
|
+
version = 1.0.0
|
|
4
|
+
author = Jiefu Chen
|
|
5
|
+
author_email = keppa1991@163.com
|
|
6
|
+
description = An async API client for LingXing (领星) ERP
|
|
7
|
+
url = https://github.com/AresJef/LingXingApi
|
|
8
|
+
long_description = file: README.md
|
|
9
|
+
long_description_content_type = text/markdown
|
|
10
|
+
keywords = async, api, lingxing, erp
|
|
11
|
+
license = MIT license
|
|
12
|
+
classifiers =
|
|
13
|
+
Programming Language :: Python :: 3
|
|
14
|
+
Operating System :: Unix
|
|
15
|
+
Operating System :: MacOS :: MacOS X
|
|
16
|
+
Operating System :: Microsoft :: Windows
|
|
17
|
+
|
|
18
|
+
[options]
|
|
19
|
+
zip_safe = False
|
|
20
|
+
include_package_data = True
|
|
21
|
+
package_dir =
|
|
22
|
+
= src
|
|
23
|
+
packages = find:
|
|
24
|
+
python_requires = >=3.10
|
|
25
|
+
install_requires =
|
|
26
|
+
aiohttp>=3.8.4
|
|
27
|
+
cytimes>=2.0.7
|
|
28
|
+
numpy>=1.25.2
|
|
29
|
+
orjson>=3.10.2
|
|
30
|
+
pycryptodome>=3.23.0
|
|
31
|
+
pydantic>=2.7.4
|
|
32
|
+
typing-extensions>=4.9.0
|
|
33
|
+
|
|
34
|
+
[options.packages.find]
|
|
35
|
+
where = src
|
|
36
|
+
|
|
37
|
+
[egg_info]
|
|
38
|
+
tag_build =
|
|
39
|
+
tag_date = 0
|
|
40
|
+
|
|
File without changes
|