Skip to main content

A service api client for Flask applications.

Project description

cmdb api client

Installation

Installing is simple with pip:

$ pip install flask-service

Usage

Setting up the debug toolbar is simple:

# CMDB连接配置
CMDB_API_URL = "http://cmdb.dev.app.ofidc.com:8001"
CMDB_API_VERSION = "v1"
CMDB_SECRET_ID = "nhchkywdix357rwd"
CMDB_SIGNATURE = "2948b1565a333b1b42c913c918633f40"

from flask import Flask
from flask_service import Servcie

app = Flask(__name__)
cmdb = Servcie("cmdb", app)

Project details


Download files

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

Source Distribution

Flask-SERVICE-0.1.4.tar.gz (4.6 kB view hashes)

Uploaded Source

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