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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a31011e29ad8997661a569c09d0f40203cb1e4b85f6c0cd6efe55f136ed755ac |
|
MD5 | 06e080873b55c5d24c992f24bbea3052 |
|
BLAKE2b-256 | b39e6bfc35668b61686ec86712206a74b7b7391354a8a3bc276bf239b889572f |
Close
Hashes for classcard_dataclient-1.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88ab3d8e6107aab10e262aa6abd38faa85efd8895f2a177c9d84dd869e9bedbd |
|
MD5 | fd6d99952b3566060a4c6307b990c32a |
|
BLAKE2b-256 | 9c764132e3ce9ae7fe9f72fe69c73e36c02ad3488847ef72e0ae8785b84c6e78 |