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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size classcard_dataclient-1.0.23-py3-none-any.whl (50.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes View hashes |
Filename, size classcard_dataclient-1.0.23.tar.gz (30.0 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for classcard_dataclient-1.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d238d98cd766e5625878758766f2628e1171aa52034a350321fc78decfca8fe |
|
MD5 | 4e696e1950b24fcc11a0ee4e595c2787 |
|
BLAKE2-256 | 822f20685907239b52c1532e273f8a47023e83739865fd85ae5165e053f3fdac |
Close
Hashes for classcard_dataclient-1.0.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d604a81eea5b2c532905a606195d5101210701f3629c47ba8e2e0ce195ae05 |
|
MD5 | 18df2f46702d7562751898e1d6e6e782 |
|
BLAKE2-256 | 1e6f5d134ca055a7be1750b64be95c8c4d3b97043bae8fe9f7695f2fc54564cf |