Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for Flask-SERVICE, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size Flask-SERVICE-0.1.4.tar.gz (4.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