| 1 | = Topdl Library = |
| 2 | |
| 3 | This page describes the python library for manipulating topologies that follow the [TopDl topdl] model and are generally output in the topdl language. It is broken up into a reference section describing the various python classes and procedures and an examples section. |
| 4 | |
| 5 | = Reference = |
| 6 | |
| 7 | == Installing and Accessing == |
| 8 | |
| 9 | The topdl library is available as oart of the DETER module of the DETER federation system. Any system that has fedd installed will have topdl installed as well. In particular, {{{users.isi.deterlab.net}}} has the library installed. |
| 10 | |
| 11 | To install the library separately, follow the [FeddDownload#GitAccess instructions for getting fedd from git], make the distribution, and install the {{{deter-data-}}}''version''{{{.tar.gz}}} tar file using the [FeddDownload#DownloadingandInstallingthetarfile same procedure for installing the fedd tar file]. Installing all of fedd will work as well, of course. |
| 12 | |
| 13 | Once the library is installed, python programs can access it by: |
| 14 | |
| 15 | {{{ |
| 16 | #!/usr/bin/env python |
| 17 | |
| 18 | from deter import topdl |
| 19 | }}} |