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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13be41d0c7827ce0654b73c8180f1ced20d53d675200ed97dcd0d11909510a05 |
|
MD5 | 078d6b1c4530d5da2b7143e9e00cb766 |
|
BLAKE2b-256 | 916037ff49704388fb69c67a94503b9c7e8ac6d178e79fdea44dd1ce7bd7457e |
Close
Hashes for classcard_dataclient-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04e9884e5a92924b05f1c7dbfaacd3e0d5205555cf41ccad4feb0bb611e1e88f |
|
MD5 | 962db53c395467b7868cca5b9675ac2d |
|
BLAKE2b-256 | 82cb675323d8ade3b334f0f7c13e227bb7236f3bd84ad3dcbf016257a13477a6 |