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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b979c0f7a8cda4dbc86b40d68c8e8eacd35671e54763b342ec68d3afd6781d85 |
|
MD5 | c98c1c30417efa8486514dd1ab9b1341 |
|
BLAKE2b-256 | a3fb647d4064cc29ec339358049ccadc31bacc0ee128079b2c609fc6076760e1 |
Close
Hashes for classcard_dataclient-1.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d70d2b0f082365ca3320c61cb1f6d640089b4429421e99e7e1105937bf350e70 |
|
MD5 | 79c23097cda6a5333b3810bdeb6777ae |
|
BLAKE2b-256 | fb8f8b951eb82e65401c1734ea0dd468c1cd6834324f3d58d436b9a05e135341 |