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.9.tar.gz
(25.9 kB
view hashes)
Built Distribution
Close
Hashes for classcard_dataclient-1.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e57d4d788bbcdfa8b08396359c547f761114e4ca59893a202ea75fd7ea0b9f69 |
|
MD5 | d0459c019ddb9aa038f84f98d8156a27 |
|
BLAKE2b-256 | d38602ab83f12bf2aa780ed5a03da6ee4ab0aef5c7cf984c91efc23b267ed638 |
Close
Hashes for classcard_dataclient-1.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c494ac4ce95338efb29cd6572de8614e4b016f3c4db09c37ae0f257f12b084 |
|
MD5 | c67d358bfd0d02f9478e730eef9e41c9 |
|
BLAKE2b-256 | c3c9df1d3eac2f2a8cbdf5a0d420772d8b86db4a3a180360f51be0f569395fa1 |