Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for classcard-dataclient, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size classcard_dataclient-1.0.5-py3-none-any.whl (31.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size classcard_dataclient-1.0.5.tar.gz (18.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page