Distributed Device Reasoning (DDR) CLIPs runtime
Project description
The ddr-clips runtime is available from www.pypi.org: https://pypi.org/project/ddr-clips/
The ddr-clips runtime is installed by running: python3 -m pip install ddr-clips
The following modules are installed:
ddrclass - Python module containing DDR Class implementing the DDR runtime genie_parsers - Parsing classes to convert unstructured text, CLI command/show command/log file content to Python dictionaries used to generate CLIPs FACTs ddrrun - Python script used to execute DDR usecase ddrparserlib - DDR functions used during testing of parsers
Update ddr-clips PyPi repository
The following modules are required to build and upload Python projects:
python3 -m pip install build python3 -m pip install twine python3 -m pip install wheel
To upload to PyPi you must have an account on PyPi.org
Python setup.py file A "setup.py" file in the ddr-clips directory controls building the ddr-clips package. The version number highlighted in red must be updated each time the package is uploaded.
The modules in the 'py_modules' list are built into the clips installation.
import setuptools
with open("README.md", "r") as fh: long_description = fh.read()
setuptools.setup(
name="ddr-clips", # DDR-CLIPs runtime
version="0.1.2", #Update the version number here
author="Peter Van Horne",
author_email="petervh@cisco.com",
description="Distributed Device Reasoning (DDR) CLIPs runtime",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://wwwin-github.cisco.com/petervh/ddr-clips",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
py_modules=['genie_parsers', 'ddrclass', 'ddrparserlib', 'ddrrun'],
)
Building and uploading ddr-clips cd ddr-clips/ddr-packaging cd dist rm * cd .. python3 -m build python3 -m twine upload --repository pypi dist/* --verbose
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddr-clips-1.1.15.tar.gz.
File metadata
- Download URL: ddr-clips-1.1.15.tar.gz
- Upload date:
- Size: 93.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a97df04544225f547c066d0ece4c3e36341ca8a8f843d02f1370dd6c528d8388
|
|
| MD5 |
89a0aaaf73c1fe794fc3ca88fdc034fe
|
|
| BLAKE2b-256 |
d90b1152236d502243dc782d74ce50aee7be2f42cd9252c8ba03fc8c5bc9934e
|
File details
Details for the file ddr_clips-1.1.15-py3-none-any.whl.
File metadata
- Download URL: ddr_clips-1.1.15-py3-none-any.whl
- Upload date:
- Size: 98.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a1ab82e63c0c9b9fbf4f0078fb3d151ba1ea035673bc63d4f386091c1d96df1
|
|
| MD5 |
416309daef77578f6c8b963c83773b66
|
|
| BLAKE2b-256 |
869c04a4057e74a4dd426b9b9c18bb0e0606692ea4b51d89aa97d0457bfa2987
|