Skip to main content

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

Metadata

Release files for ddr-clips 1.1.15

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

Source distribution (sdist)

Source distribution for ddr-clips 1.1.15
File Size Uploaded Provenance Actions
ddr-clips-1.1.15.tar.gz 93.5 kB Without provenance Details for ddr-clips-1.1.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ddr-clips 1.1.15
File Interpreter ABI Platform Actions
ddr_clips-1.1.15-py3-none-any.whl Python 3 none any Details for ddr_clips-1.1.15-py3-none-any.whl

Total release size: 191.6 kB

Release files / ddr-clips-1.1.15.tar.gz

Download URL ddr-clips-1.1.15.tar.gz
Size 93.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a97df04544225f547c066d0ece4c3e36341ca8a8f843d02f1370dd6c528d8388
BLAKE2b-256 checksum
How to use checksums
d90b1152236d502243dc782d74ce50aee7be2f42cd9252c8ba03fc8c5bc9934e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / ddr_clips-1.1.15-py3-none-any.whl

Download URL ddr_clips-1.1.15-py3-none-any.whl
Size 98.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a1ab82e63c0c9b9fbf4f0078fb3d151ba1ea035673bc63d4f386091c1d96df1
BLAKE2b-256 checksum
How to use checksums
869c04a4057e74a4dd426b9b9c18bb0e0606692ea4b51d89aa97d0457bfa2987
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for ddr-clips 1.1.15

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.15 This release

2 release files 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