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.13.tar.gz
(110.1 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c531e8f123fcd56b4a2d55b09eb3601303d20d9e45a9effc746a295f826814ed |
|
MD5 | c4fe9cf20a1ad04939a7d9c591fa2430 |
|
BLAKE2b-256 | 1ff9070988a6c22f10502631c683a6823da61399d025cc3277325ea1dd1c347f |
Close
Hashes for classcard_dataclient-1.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec75ef76cca077ab45aa9a7ea0cceff4a2799dfee42a18da51c9af1bbb440687 |
|
MD5 | e6d5cbd24baf06c1a56f2c6d51018825 |
|
BLAKE2b-256 | 37eaf2370721aa4523b0ea8d7741dc89ae49c9518a51d7db63757eef6fade7f5 |