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


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.0.48.tar.gz (61.3 kB view hashes)

Uploaded Source

Built Distribution

classcard_dataclient-1.0.48-py3-none-any.whl (100.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page