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.50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9da3b88cccce7beaf678a5a6542b522206e371528d470213f5451b1368f017f5 |
|
MD5 | 3e719dfef15131bd698a7dc3f61266fc |
|
BLAKE2b-256 | 967d13207a06868a35e149e99f2ae6b5f13adb783f2c47eb8efa71540718f48f |
Close
Hashes for classcard_dataclient-1.0.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b75f7aa624114e5d143f7e746a7b8fa35cbabe67f9e25d8bf6ff0ae387db1529 |
|
MD5 | 20be019c0d2961eddb837e16fafa9085 |
|
BLAKE2b-256 | 8a1bafd8a484773b0ccf400517e6f1b07b5d0f214cb5fdaed27a2c3151b56575 |