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.5.tar.gz
(90.1 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5e7ff20e33413b9c147c26fccaccc04ee933069881a79a8673c53954f2a8ab |
|
MD5 | f8fcfbde860209f86a103d4742b51890 |
|
BLAKE2b-256 | 1d2c9a3d8419aa098bb67a599990e74e270c6055eeb9a26f8ee8feec0841799f |
Close
Hashes for classcard_dataclient-1.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5c889a6626c138b4b71d404075212142494bc16d70ff81513e2c5cd24d66c92 |
|
MD5 | 6e7fba7f4afeb8b0845ff320a56eff7e |
|
BLAKE2b-256 | 8ba05436ded08a58996f127702f494233d21cf2416ddaff6f4b5153cd969784d |