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 details)

Uploaded Source

File details

Details for the file Flask-SERVICE-0.1.4.tar.gz.

File metadata

  • Download URL: Flask-SERVICE-0.1.4.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-SERVICE-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9d564c1ed2014540a72940cae82887e8f97fe7338bc2045742f024e2e3e20485
MD5 c0452e799f567993387658ef7e686c01
BLAKE2b-256 670bf33232998f0743187202712fb2b5d6fa019d4d3c9b1705a1e17bfd8aaf0f

See more details on using hashes here.

Supported by

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