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.
Release files for classcard-dataclient 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| classcard_dataclient-1.2.2.tar.gz | 27.0 kB | Details |
Release files / classcard_dataclient-1.2.2.tar.gz
| Download URL | classcard_dataclient-1.2.2.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28986eddfafac1412e572e276c876a04708e86fff42775ab33ca736195913422
|
|
BLAKE2b-256 checksum How to use checksums |
3a1a414345cf003574cc233a7aedba1de583101e655f0de3a7507a10f3c3e3e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.1
|