lxcommondata
Project description
Common Data gRPC API client
灵犀公共数据微服务接口
配置
settings配置指定server
COMMON_DATA_SERVER = 'host:port'
使用
# 导入查询接口
from commondata.apis import do_query
# 定义查询对象
query_obj = {
'model': 'CompanyModify', # model名(必须)
'operate': { # 操作(必须)
'filter': "entid_id=363248", # 方法、参数
'order_by': "'-ALTDATE'",
},
'paging': '[0:5]' # 分页(可选)
}
# 查询并接收结果
status, data = do_query(query_obj)
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
lxcommondata-0.0.8.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lxcommondata-0.0.8.tar.gz.
File metadata
- Download URL: lxcommondata-0.0.8.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dbc83e509ad7e8fe84dcb71e106556f836c2119d9bca471356de7292392a993
|
|
| MD5 |
e34042ab7bfea083c119b01c558dae91
|
|
| BLAKE2b-256 |
73e06cf20e55d489437c79342ec89fa06679c2ca9277013270bc8d067e2c26e2
|
File details
Details for the file lxcommondata-0.0.8-py3-none-any.whl.
File metadata
- Download URL: lxcommondata-0.0.8-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dc216c5cc626114baf3b829c4cdfe4088403a66164840b912689b48d20163ec
|
|
| MD5 |
71a5aad3dd9cb84242916e6b287bd096
|
|
| BLAKE2b-256 |
8dbc816b5a8a62f392263197941face41b43383733d3bc7d985eb4a73eb1413f
|