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.2.0
Filename, size File type Python version Upload date Hashes
Filename, size classcard_dataclient-1.2.0.tar.gz (26.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page