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.8.tar.gz
(90.5 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f43cdcf73cbaddfda9e082a14895fdd2abd61e15aee06db64c5abf08f35e9e |
|
MD5 | b0b90b10251d3bfb91fd1ef2565823b0 |
|
BLAKE2b-256 | 63912283e730b752f9e1eda567d8ee5eaa6226e863055d2613a9cdf1ffe0168a |
Close
Hashes for classcard_dataclient-1.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efaed82b63a22160b0bde7e89e3a70ba3e4a1cd606207932501f5e5ef94219bb |
|
MD5 | e010f00b07fc10d864f0c14bff2946aa |
|
BLAKE2b-256 | c2dce327fd0f7b228cb11859ff80ef3629dfeab86152e4b2ea746a681e772585 |