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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4366ea809cc4293709d8ab4319008e3f6999fa1cdc817e35b84cd490813765aa |
|
MD5 | 4fca0e9c7f37dd31677d4fbbc1065639 |
|
BLAKE2b-256 | 66fd484860bd0bd8994adb626c320c83e4277d1aa6358eb42c1644dd8443d895 |
Close
Hashes for classcard_dataclient-1.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5816fdc33248e9384a6052849df3fb29293d406a8af36ae5f0876cc8d8eb370 |
|
MD5 | 1b4fb266a6c535bb3cffb08d317180ec |
|
BLAKE2b-256 | 8b0b3a907dbea5c6d51da3ad9609183e979dbcc7b965b9c39c2683375c1472ea |