Metadata-Version: 2.2
Name: devaci_module
Version: 1.1
Summary: A Python package to program the Cisco ACI through the APIC using the supported Cobra SDK
Home-page: https://github.com/cocuni80/devaci_module
Author: Jorge Riveros
Author-email: christian.riveros@outlook.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9.2
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: urllib3
Requires-Dist: pathlib
Requires-Dist: Jinja2
Requires-Dist: PyYAML
Requires-Dist: pandas
Requires-Dist: openpyxl
Requires-Dist: acicobra
Requires-Dist: acimodel
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# DEVACI Module
DEVACI module for python 3.x

## Requirements
Before of install devaci module, you must install the acicobra and acimodel package.
They can be downloaded from the APIC controller https://APIC_IP/cobra/_downloads/

```shell
$ pip install acicobra*
$ pip install acimodel*
```

## Installation
```shell
$ pip install devaci_module
```

## Requirement


## Quickstart
Import the `devaci_module` library to use the package
```python
from devaci_module import DeployClass
....
```

Below an example.
```python

import os
from pathlib import Path
from devaci_module import DeployClass
from dotenv import load_dotenv


ROOT = Path(__file__).parent

load_dotenv(ROOT / ".env")

SETTINGS = {
    "username": os.getenv("USER"),
    "password": os.getenv("PASS"),
    "ip": os.getenv("IP"),
    "log": ROOT / "logging.json",
    "logging": True,
}


if __name__ == "__main__":
    aci = DeployClass(**SETTINGS)
    aci.template = [
        ROOT / "examples/create_tenant1.j2",
        ROOT / "examples/create_tenant2.j2",
    ]
    aci.deploy()
```
