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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62872710ba2f10bc22483364719951bb669a759cbbe6d1fe9df65770cc587153 |
|
MD5 | 80d77d8ff05fcab8d43a8ee1e72be3d2 |
|
BLAKE2b-256 | 73d0d53c98f9eb65501b64b142c00db356ae1c60f01b50f49152c6e1e015ebbe |
Close
Hashes for classcard_dataclient-1.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb26934aa69424c724127dd3518b475a22b49cf5637b13b96e24158879552d9e |
|
MD5 | e9349c72e9f1682ef8048b811c8f9955 |
|
BLAKE2b-256 | 4d14b9ef649500319edd27b3e31e6cf1fa802957c066d09d6117a2ff3d841e7c |