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.0.9.tar.gz
(27.9 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a35e32732f66e59359b00493707d5c0425dc581ee527b48ad31f3304b3c2a2ad |
|
MD5 | 7d6c2022d3c74aa73d6e5d38d765f5fb |
|
BLAKE2b-256 | 93b991afa9803036385553627be0596eab8dcfb13b2bf30f7b78242f3cf1f6db |
Close
Hashes for classcard_dataclient-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02219c659ce0eb6c7ffe7678ee473fb3cd1b6dfc9aeb1e9c8ee8d4693ade5e93 |
|
MD5 | 654c3b8ec4af349c47c2a7176e35129c |
|
BLAKE2b-256 | 81db3781536b35d0c9cc2c245fc41096dbcf9a2067beebe7fe4184a36d3c489f |