Skip to main content

nomad_cbec_limit_cli

This is the API descriptor for the Nomad CBEC, responsible for CBEC customer queries. Read the documentation online at Nomad API Suite.

  • Install for node with npm install nomad_cbec_cli
  • Install for python with pip install nomad-cbec-cli

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.1.1
  • Package version: 1.1.1
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python >= 3.6

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import nomad_cbec_limit_cli

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import nomad_cbec_limit_cli

Getting Started

Please follow the installation procedure and then run the following:

import time
import nomad_cbec_limit_cli
from pprint import pprint
from nomad_cbec_limit_cli.api import health_api
# Defining the host is optional and defaults to https://nomad.samarkand-global.cn/cbec
# See configuration.py for a list of all supported configuration parameters.
configuration = nomad_cbec_limit_cli.Configuration(
    host = "https://nomad.samarkand-global.cn/cbec"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = 'YOUR_API_KEY'

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with nomad_cbec_limit_cli.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = health_api.HealthApi(api_client)
    
    try:
        # health
        api_response = api_instance.get_health()
        pprint(api_response)
    except nomad_cbec_limit_cli.ApiException as e:
        print("Exception when calling HealthApi->get_health: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://nomad.samarkand-global.cn/cbec

Class Method HTTP request Description
HealthApi get_health GET /health health
LimitApi cbec_limit GET /limit limit

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key
  • API key parameter name: APPCODE
  • Location: HTTP header

Author

paul@samarkand.global

Notes for Large OpenAPI documents

If the OpenAPI document is large, imports in nomad_cbec_limit_cli.apis and nomad_cbec_limit_cli.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:

Solution 1: Use specific imports for apis and models like:

  • from nomad_cbec_limit_cli.api.default_api import DefaultApi
  • from nomad_cbec_limit_cli.model.pet import Pet

Solution 1: Before importing the package, adjust the maximum recursion limit as shown below:

import sys
sys.setrecursionlimit(1500)
import nomad_cbec_limit_cli
from nomad_cbec_limit_cli.apis import *
from nomad_cbec_limit_cli.models import *

Metadata

Release files for nomad-cbec-limit-cli 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nomad-cbec-limit-cli 1.1.1
File Size Uploaded Provenance Actions
nomad_cbec_limit_cli-1.1.1.tar.gz 38.4 kB Without provenance Details for nomad_cbec_limit_cli-1.1.1.tar.gz

Release files / nomad_cbec_limit_cli-1.1.1.tar.gz

Download URL nomad_cbec_limit_cli-1.1.1.tar.gz
Size 38.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4797214f84d8dd6635e87ff3eb0a1f6ead3c7828f30bcd19a5591d7000976d66
BLAKE2b-256 checksum
How to use checksums
63f77c71a366f5361d2f3b1dd32c878d934e7d18a071bb22656cdc172439cb6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.20.0 requests-toolbelt/0.8.0 tqdm/4.62.3 CPython/3.6.13

Security for nomad-cbec-limit-cli 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page