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
classcard_dataclient-1.1.16.tar.gz
(114.0 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69cbdacb298ae19faa91cffe5f746d671226a65ba90c96a77e5cbffa05915cc6 |
|
MD5 | 23e451be5051e6c892c2ddc3168cffa7 |
|
BLAKE2b-256 | 855d07f1ca9423f176e21553aa501fb2632060ba643f30cbf23b75c85e6d6f7b |
Close
Hashes for classcard_dataclient-1.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf9db61883306aaa121321b3803c814f911fb5b279c0787101de804740a1b2e |
|
MD5 | 586bc7a726d6f1665f15b038f9d33f58 |
|
BLAKE2b-256 | 33d7ef9468fc0d4f70f20238ca94122a8e57b3428773fb86ba81b50d71040885 |