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.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3755d107ef2b49c7a69c4fadf7a559d04e4a2d17e1580872b3f1a3c27381c56f |
|
MD5 | 021571b47aa2aa60a30afb15c9e68908 |
|
BLAKE2b-256 | f73a580288e8559131c7a152f9b0b5a29119d84881e19b45fc43fde164937d00 |
Close
Hashes for classcard_dataclient-1.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9395975655bc3a809afc1dbec4e22f3d10e68e99cafafc3c02593785fe75078a |
|
MD5 | 758ae8d86c13a5839a82925c48c924a4 |
|
BLAKE2b-256 | 35972b46f069c0668455e53aef8c8631a6295ae52a290ee7e4b8428dc687a2e9 |