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
classcard_dataclient-1.1.12.tar.gz
(110.1 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0cf16c6d273f13586991fa23da6c0353bd0accd5c93cc008bd48f0db259a939 |
|
MD5 | f8a6805a58af4201e80c7b674ab2c2d0 |
|
BLAKE2b-256 | d6969f08b6a33c1a11ebecb1516e8546be327b93b5d8697daad33de8df47ecb1 |
Close
Hashes for classcard_dataclient-1.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e11f0eb28fb70fe3a2e3fa8126268a3133a597a20ca20a1fb077f5729bb14eb |
|
MD5 | 0f1e44710a3820e2103a0c98f488571d |
|
BLAKE2b-256 | 4f4f7e117fdb998604e42ac7282332065f51dfdef4723cd11df40da0d846b83c |