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.3.tar.gz
(88.3 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c6cc4c9b9a893524c2cf84ea0606d6540fc141267e499761aa1ce665caa4e7d |
|
MD5 | 4b3c2b1a5477eef942fd11bc10886906 |
|
BLAKE2b-256 | f014107393e4d1eb886f59d298169a849d293cc8c4764be4e1b765d36bee56d1 |
Close
Hashes for classcard_dataclient-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df3a41a6f22693ad6108d7957a33e14114d4a4dd91e0ba0fc0c062c8c6effef9 |
|
MD5 | d35ec16a38c04ba893a4107a7487cd33 |
|
BLAKE2b-256 | f25145af08becd694526aa7d36936481ad117f4cd0149c337757979737d64ac7 |