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.6.tar.gz
(90.5 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 778f98f90cc5263bf7734bda16482a2b3da5c6fcb70cb88a3cacfcf2cb72fbb7 |
|
MD5 | b4f38b62a67eeb5101f4260b032f304c |
|
BLAKE2b-256 | 35a8f573c3a35930469c52d760a62a993239c04dd58b91feed5f07bdde561b12 |
Close
Hashes for classcard_dataclient-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33427f3015d4ebc4e01e182b471ad717d9b4398676de51163eb400468e65782 |
|
MD5 | b4862deb1bed3cae803d5d3167eb0438 |
|
BLAKE2b-256 | 6429bc585d9909205fbe079d78320e902df4908cce8f97925fdd265e97b974fb |