ACE-X DevKit - Development kit for building ACE-X drivers and plugins
Project description
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
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 acex_devkit-1.3.0.tar.gz.
File metadata
- Download URL: acex_devkit-1.3.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bea5fe54d9c61fac9a199321a65ff7a2520c2661b6c8199453efd7262fee81e1
|
|
| MD5 |
f9c0b3bccc1171514cbba7ae65d95f56
|
|
| BLAKE2b-256 |
90c7781c5fadbc5961817a38b5376733beb5f824d94dc5651e739bfaf316e7d9
|
Provenance
The following attestation bundles were made for acex_devkit-1.3.0.tar.gz:
Publisher:
ci.yml on acex-labs/acex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acex_devkit-1.3.0.tar.gz -
Subject digest:
bea5fe54d9c61fac9a199321a65ff7a2520c2661b6c8199453efd7262fee81e1 - Sigstore transparency entry: 1134126799
- Sigstore integration time:
-
Permalink:
acex-labs/acex@990ea39b49e730e5446c3709bbd920dd7c92469b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/acex-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@990ea39b49e730e5446c3709bbd920dd7c92469b -
Trigger Event:
push
-
Statement type:
File details
Details for the file acex_devkit-1.3.0-py3-none-any.whl.
File metadata
- Download URL: acex_devkit-1.3.0-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2b415fba9b92aaeba14dcfce5be6b501f92a2390c49b7ae368b431f8ca15c39
|
|
| MD5 |
b45cdc7a265417feea4dc8e9babcb9e4
|
|
| BLAKE2b-256 |
85d9829a306f5ffa4d2c8aa671469023002ac8d9d6a05fec90c40b399af5fd53
|
Provenance
The following attestation bundles were made for acex_devkit-1.3.0-py3-none-any.whl:
Publisher:
ci.yml on acex-labs/acex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
acex_devkit-1.3.0-py3-none-any.whl -
Subject digest:
e2b415fba9b92aaeba14dcfce5be6b501f92a2390c49b7ae368b431f8ca15c39 - Sigstore transparency entry: 1134126873
- Sigstore integration time:
-
Permalink:
acex-labs/acex@990ea39b49e730e5446c3709bbd920dd7c92469b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/acex-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@990ea39b49e730e5446c3709bbd920dd7c92469b -
Trigger Event:
push
-
Statement type: