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.2.tar.gz
(86.3 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6198fbfff67877c89b011f4543fb7eded6910a2374c9d52c96aefa4caa09d870 |
|
MD5 | d4f06742ff77b5f83b71de3b27a1d0f5 |
|
BLAKE2b-256 | 39c63df44864e8d5dd70b746d11c62a32c7329cc7e24c90a941f61e115f3d677 |
Close
Hashes for classcard_dataclient-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc38ff3477cf0c2da0ec391555af562532bf6127520eb27f514ec99ef78977c |
|
MD5 | 7e4286faf19c5362064cb434c9f5383d |
|
BLAKE2b-256 | 3c7e7d329040f0b13189455efca3ed44b25a9b9f026895d20fd286c81df83344 |