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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 011cf08d5b9ddaf9fbb976b71874ec698dbef2f9e73013e09e227a1500f99b42 |
|
MD5 | 5fc05a575eebce5bc9a2e44f0025ccd1 |
|
BLAKE2b-256 | 74bddf2489f6d2c2ebbd10a86c062656923285db4589d19bf7612e0e66c9d0ef |
Close
Hashes for classcard_dataclient-1.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e506d7f63910c3deab9d2fcf77ddb79893a299d8c47a6906c28eec6bd01127c3 |
|
MD5 | eeeb8076955d55e603813ab39721c81c |
|
BLAKE2b-256 | 9cbc9669813a53b714153d2fcbc36d951711f286559fdb7c4ac9ced4e02f6107 |