:toc:
:icon_image_rel_path: examples/images/3.png
:icon_name: byCode
:read_more: #sec-byCode

[[sec-byCode]]
== Use by Code

image::{icon_image_rel_path}[The Icon 3s Alternative Text,160,160,float="right"]

=== a2dl as Module
:variable_name: short_description

The script comes as a python module and thus can be used in own programmes. It consists of Module a2dl with classes Diagicon and Diaglibrary.

WARNING:: Please note, that the module uses a logger "a2dl".

=== Examples

A basic example.

[source, python]
----
include::../../test.py[]
----

=== Static Configuration

Overwrite to your own liking

[source, python]
----
include::../constants.py[]
----