Skip to main content

ACE-X DevKit

Development kit for building ACE-X drivers and plugins.

Installation

pip install acex-devkit

Usage

Building a Network Element Driver

from acex_devkit.drivers import NetworkElementDriver, TransportBase, RendererBase, ParserBase
from acex_devkit.models import ComposedConfiguration


class MyRenderer(RendererBase):
    def render(self, model: dict) -> str:
        # Implement your rendering logic
        pass


class MyTransport(TransportBase):
    def connect(self) -> None:
        # Implement connection logic
        pass

    def send(self, payload: Any) -> None:
        # Implement send logic
        pass

    def verify(self) -> bool:
        # Implement verification logic
        return True

    def rollback(self) -> None:
        # Implement rollback logic
        pass


class MyParser(ParserBase):
    def parse(self, configuration: str) -> ComposedConfiguration:
        # Implement parsing logic
        pass


class MyDriver(NetworkElementDriver):
    renderer_class = MyRenderer
    transport_class = MyTransport
    parser_class = MyParser

    def render(self, configuration: ComposedConfiguration, asset):
        return self.renderer.render(configuration, asset)

    def parse(self, configuration: str) -> ComposedConfiguration:
        return self.parser.parse(configuration)

Package Contents

  • models: Common data models (Asset, LogicalNode, ComposedConfiguration, etc.)
  • drivers: Base classes for building network element drivers
  • exceptions: Common exceptions
  • types: Type aliases and protocols

License

AGPL-3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acex_devkit-2.2.0.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acex_devkit-2.2.0-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

Details for the file acex_devkit-2.2.0.tar.gz.

File metadata

  • Download URL: acex_devkit-2.2.0.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for acex_devkit-2.2.0.tar.gz
Algorithm Hash digest
SHA256 fbf555c21a3356ea308cc25e1d07840f13b2c8d09047247827129a83fc48afa9
MD5 6a57a4c9830cc7290ed6c9edde95c95a
BLAKE2b-256 af05c1230b29057cdfe3be3e67beba2c6eaa45df338ba365ac46d7b7527740c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for acex_devkit-2.2.0.tar.gz:

Publisher: ci.yml on acex-labs/acex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file acex_devkit-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: acex_devkit-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 50.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for acex_devkit-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc0b451c07581b76b8467343a37091df9bc092bd173668372f23eae9f3296539
MD5 3bd3798c4e87691123d702f37a1788fa
BLAKE2b-256 160f0b8a14016b2c197bebab234e6ce633cc2569ac1b8602210629aa05ced0d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for acex_devkit-2.2.0-py3-none-any.whl:

Publisher: ci.yml on acex-labs/acex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.2.1

2 files

This release

2.2.0 This release

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

1.17.1

2 files

1.17.0

2 files

1.16.1

2 files

1.16.0

2 files

1.15.0

2 files

1.14.1

2 files

1.14.0

2 files

1.13.0

2 files

1.12.0

2 files

1.11.0

2 files

1.10.1

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.1

2 files

1.7.0

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.0

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page