data client of class card server
Project description
DataClient
Introduction
this is a tool which save data to class card server
Usage
1. install
pip install classcard-dataclient
2. init client
# init instance
client = DataClient()
# set the config
client.set_config_module("config")
3. call method
data = Model(**{
"xxx": "xxx"
})
code, msg = client.create_section(data)
Notice:
- when data is model instance , code is integer, msg is string,
- when data is instance list, the code is list, msg is also list.
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
classcard_dataclient-1.1.15.tar.gz
(110.8 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b01603f4a6782056279e583487879833702a9586e94ec4cf3578cb63bed4790 |
|
MD5 | 1387066966ff3cf7661ee2d489c70f23 |
|
BLAKE2b-256 | 582572c5c1528dd94aa64cbe0f98ccd66d67c9bcf14306c4545080a9c33dc46c |
Close
Hashes for classcard_dataclient-1.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63ae011dc05ce2ea7c7fd6555a58cf49d880377d1557fb24afd6a5cdbe15569f |
|
MD5 | 33a55ef7c17312458edab7b0354cc00b |
|
BLAKE2b-256 | dc5dbcf71ca4c9bb3eada84a06d75a03eef97c0e011606acb4b5a70c30a5d4ad |