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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7e1d3131158e49b5a09dc9a48943eba0ea4df5c22910c89e6cc3bd468a0208 |
|
MD5 | a3d7b24b8241e2afa6227596f04d53b9 |
|
BLAKE2b-256 | e62b8e80c7b815c8095052f07fa0e012411fd720eb31b37a8d21c73df27f8cf6 |
Close
Hashes for classcard_dataclient-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b290dbbf6fe141362515fc9845bc306d7fdba86335b50c7710486c5e54f92400 |
|
MD5 | 529a680a69aad0e0ff99343fbcd0356c |
|
BLAKE2b-256 | 76827d14c22e9127e6958172ef2d6ddebf144e870913ee586011f8feab1801a4 |