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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9ed2bc08601867062160c1f899a2315050b46d484b61277094c41f83d0742b7 |
|
MD5 | de7e88725991be758247d2a9764ea39e |
|
BLAKE2b-256 | 26d218095a6f33df1cd6d58114867eb5cb553c0e444754bf4c79491820eec3b3 |
Close
Hashes for classcard_dataclient-1.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba5a01485149353b486ce07ad84eec59f2a591a96eba84a9f978854518f3b54 |
|
MD5 | 8ddae2ad59abdd896df7e50bc8bc243e |
|
BLAKE2b-256 | c987288c559cb8c4742b7a99aff5e9ca46b590500de3baf909415fba20644041 |