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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 098482a6bc1a15070672fd3a34ee546a161afe5ebc73f85749a770086d3d3b0f |
|
MD5 | edde8f6bc171dd5fd84f744a8a66626c |
|
BLAKE2b-256 | 1447937c9cfe92d3d88ce77d09892daa8d6d69aef640af684559587f7d50f992 |
Close
Hashes for classcard_dataclient-1.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20551995d15f0003af6470c3d8432485e0c06d9752e2a4a8e4949f9838e2f29 |
|
MD5 | b3ad80123a294da44502555005fc65c9 |
|
BLAKE2b-256 | b3e31310113bfa6e0a8829dd7cadc5ddb136d8e536fca4eb7144eedb761fe51b |