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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f08189cec60ffb07d5f42cb2276fc800b3cf4f8335bf1d1d8d764db685973aa3 |
|
MD5 | 6bff0cb547f73dfaf1b47b8350acace0 |
|
BLAKE2b-256 | ad00e1f0629565c7e6a508fa80636aa234cec4c9b40b292058da8dad5fef92a6 |
Close
Hashes for classcard_dataclient-1.0.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a3847495f041e5417580dca3aa35ebb1a54d9b6bf19bf4eefdc5f7d4592623 |
|
MD5 | 2a45d4c03a9e04a9248b1f7293aa5bb1 |
|
BLAKE2b-256 | 0a6f3ef89adb38f1a9731fa470b62a427df3d4b9e1e6857d09ea53fe91a46c8f |