Skip to main content

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/

$ pip install acicobra*
$ pip install acimodel*

Installation

$ pip install devaci_module

Requirement

Quickstart

Import the devaci_module library to use the package

from devaci_module import DeployClass
....

Below an example.

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


ROOT = Path(__file__).parent

load_dotenv(ROOT / ".env", override=True)

SETTINGS = {
    "username": os.getenv("USER"),
    "password": os.getenv("PASS"),
    "ip": os.getenv("IP"),
    "testing": False,
    "file_output": "output",
    "working_folder": ROOT,
}


if __name__ == "__main__":
    aci = DeployClass(**SETTINGS)
    aci.xlsx = [
        "configurations/config1.xlsx",
    ]
    aci.template = [
        "templates/create_tenants.j2",
    ]
    aci.deploy()

Metadata

Release files for devaci-module 1.5.2

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

Source distribution (sdist)

Source distribution for devaci-module 1.5.2
File Size Uploaded
devaci_module-1.5.2.tar.gz 20.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for devaci-module 1.5.2
File Interpreter ABI Platform
devaci_module-1.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / devaci_module-1.5.2.tar.gz

Download URL devaci_module-1.5.2.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0b198979ad46d654e55d04fa1e0d7db4f1870213301ca3329f9e4baad660841a
BLAKE2b-256 checksum
How to use checksums
d6faf0ddcf09b4a703e9505af728d0ede31b7beba1771e7e8049e4bce4bc1b5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.2

Release files / devaci_module-1.5.2-py3-none-any.whl

Download URL devaci_module-1.5.2-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fba7857b237493d81a15bd9a271c56837d3ac41fe51a0b41cd1c2ac52614c1cf
BLAKE2b-256 checksum
How to use checksums
e1300a1257c063e8c7c33ec54cd1065a99aa71f5d67812e02712a0f9a1f3066f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.5.2 This release

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4

2 release files

1.3.1

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

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