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.36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7edfd3b91a7db27d7b66715ac0867634952622e63aea856ba8c999d0848fba |
|
MD5 | dad42a0f4e32c7fbfa0b8a3dca5ecf80 |
|
BLAKE2b-256 | fe94bb6e7ce0c1eb6313bb9cb1da7f3fc4acccb9e9a1df866be2be7a79e0afb9 |
Close
Hashes for classcard_dataclient-1.0.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a402744a9cdb24b2e88fb9a3760be7e604e7d45b3c365202fded87403dbf0e58 |
|
MD5 | 73bcc6b0f44891bf0c68562235ad1299 |
|
BLAKE2b-256 | c825f1a4efa01d02e846be93b26680f22141d987fbafe22ef2742602eeb728a8 |