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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e8273e10ffed4872d265c36e7a2933be44d8c26bc6028a9f1a877ae1a87069 |
|
MD5 | 1e729c33b7f7a2395bbba5cccc991121 |
|
BLAKE2b-256 | ebcc80e9c5e7ba34d0e3ef25130c3b7051c59affdab9cd162f84b0d720b19461 |
Close
Hashes for classcard_dataclient-1.0.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75d9c3859da58bc061be328ac3a04200dbdf8c988115a4098235ccf4f95cc549 |
|
MD5 | 0f6f5c500834182c865a653dfba7fb90 |
|
BLAKE2b-256 | c73e39d7a1fccbe14c9f860e11d7733f8badfb6c23d753a577340fac0c8cf606 |