nomad-envoy-utils-cli
This is the API descriptor for the EC Platform and customs utils. Developed by Samarkand Global, EC Platform including Youzan Read the documentation online at Nomad API Suite. - Install for python with pip install nomad_envoy_utils_cli - Install for node with npm install nomad_envoy_utils_cli
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.3.0
- Package version: 1.3.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
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_envoy_utils_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_envoy_utils_cli
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import nomad_envoy_utils_cli
from nomad_envoy_utils_cli.rest import ApiException
from pprint import pprint
# Defining host is optional and default to https://nomad-envoy-utils.samarkand-global.cn
configuration.host = "https://nomad-envoy-utils.samarkand-global.cn"
# Enter a context with an instance of the API client
with nomad_envoy_utils_cli.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = nomad_envoy_utils_cli.HealthApi(api_client)
try:
# health
api_response = api_instance.get_health()
pprint(api_response)
except ApiException as e:
print("Exception when calling HealthApi->get_health: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://nomad-envoy-utils.samarkand-global.cn
| Class | Method | HTTP request | Description |
|---|---|---|---|
| HealthApi | get_health | GET /health | health |
| HealthApi | get_metrics | GET /metrics | metrics |
| PlatformApi | batch_operate_cypher | POST /platform/cypher | cypher |
Documentation For Models
Documentation For Authorization
ca_key
- Type: API key
- API key parameter name: Authorization
- Location: URL query string
ca_stage
- Type: API key
- API key parameter name: x-ca-stage
- Location: HTTP header
Author
Demo
import nomad_envoy_utils_cli
from nomad_envoy_utils_cli.models import Cypher, CypherOperation
configuration = nomad_envoy_utils_cli.Configuration()
configuration.host = "https://nomad.samarkand-global.cn"
# Enter a context with an instance of the API client
with nomad_envoy_utils_cli.ApiClient(configuration) as api_client:
api_client.set_default_header(
"Authorization", "APPCODE test")
api_instance = nomad_envoy_utils_cli.PlatformApi(api_client)
cypher = Cypher(store_id="samarkand.youzan.kuiseng",
operation=CypherOperation.DECRYPTBATCH,
items=["$Kg7PP/qJTnIYX+22Y2pa+A==$1$"])
try:
api_response = api_instance.batch_operate_cypher(cypher=cypher)
print(api_response, api_response.data)
except Exception as e:
print("Exception : %s\n" % str(e))
Metadata
Release files for nomad-envoy-utils-cli 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nomad-envoy-utils-cli-1.3.0.tar.gz | 20.7 kB | Without provenance | Details for nomad-envoy-utils-cli-1.3.0.tar.gz |
Release files / nomad-envoy-utils-cli-1.3.0.tar.gz
| Download URL | nomad-envoy-utils-cli-1.3.0.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12fed9280b752a878b56ed44672032f14df13e800174b1ab2a8c377539969cd7
|
|
BLAKE2b-256 checksum How to use checksums |
97a31fdedf4ec4260d58ec0444edb89421d37b289bd37ca92c8b1e83ead700af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8
|
Security for nomad-envoy-utils-cli 1.3.0
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.