Skip to main content

OpenHlTest Python Client

The openhltest folder is the repository for the OpenHlTest python client module.

Auto generated python client

The auto generated library will follow these guidelines:

  1. It will be auto-generated every time there is a model change that has been successfully validated.
  2. It will be hierarchical and match the hierarchy of the yang model.
  3. It will consist of base infrastructure that encapsulates transport, serialization and errors.
  4. Once the library has been generated and unit tests pass it will be packaged and posted on pypi.python.org.
  5. The library will be available for install using the command:
pip install openhltspirent

Base infrastructure that is not auto-generated

  1. Https transport class encapsulated in HttpTransport
  2. Crudx and utility methods encapsulated in Base

The pyang plugin python_client_plugin.py will auto generate the following

  1. classes for the following yang keywords:
    • container
    • list
  2. class @property accessors for the following yang keywords:
    • leaf
    • leaf-list
    • container
    • list
  3. class methods for the following yang keywords:
    • action
    • rpc
  4. class @property accessors to access child container, list classes

Documentation

upload the python package and the documentation browser

Sample code

Sample code is located in the openhltest/samples folder.

Metadata

Release files for openhltspirent 2.0.324

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

Built distribution (wheel)

Table of built distributions (wheels) for openhltspirent 2.0.324
File Interpreter ABI Platform
openhltspirent-2.0.324-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / openhltspirent-2.0.324-py2.py3-none-any.whl

Download URL openhltspirent-2.0.324-py2.py3-none-any.whl
Size 5.3 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
59da2ac3663f80f4d81df3f753f65d13af5e4df2254174c9e33fac25845699f4
BLAKE2b-256 checksum
How to use checksums
99c81ac00fb4248f984463741533793ef8de8d6ed44f35aa1d5267cc8bb80737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.5.3

Release history Release notifications | RSS feed

This release

2.0.324 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

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