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
Built Distribution
Close
Hashes for classcard_dataclient-1.0.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3958773c84af5b37c3f3fffcf330500a4bce469df8896afdba5a4d7b60cf1174 |
|
MD5 | b8f4b3ad8adb7179a74aa9c51de27180 |
|
BLAKE2b-256 | 2e531603315f2b1d3c6bae963f04e38af1021a7fb708f7821e87de470e7b5040 |
Close
Hashes for classcard_dataclient-1.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f90aaaa270dc330b2067f6de3bcf06750f5c98e348a465070e14e7683ecada60 |
|
MD5 | 21b49e0abada5101f5a8bf5ef9f13c23 |
|
BLAKE2b-256 | e1335b41ee8d939db8fad55575b537c0eaad5bf3f38b6935820aee47366181a5 |