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.43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292dfe5bffb60a265c12a2657089b880b49ba434760f76cc65e89b962beb06a7 |
|
MD5 | dde8cf481c4d6bb470c9bd91356e27aa |
|
BLAKE2b-256 | 1b23380f00adca38c33c429a4d86682a845aa9ff3b3843333fa2d220812bef44 |
Close
Hashes for classcard_dataclient-1.0.43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe35918cfccfa5f680892f22d6c52f59649d21b68dfcd7f840e5f2a451ca9154 |
|
MD5 | 97433129ebb3446c09590dbfbbad01b7 |
|
BLAKE2b-256 | c235aa8acb725b4cab0432448cb6cab76d6295fe3ecba9cd134999c64b1c16f3 |