pyIPXACT

class pyIPXACT.IpxactSchemaStruct(version: str, namespacePrefix: str, schemaUri: str, schemaUrl: str, localPath: pathlib.Path)[source]

Bases: object

Schema descriptor made of version, namespace prefix, URI, URL and local path.

__init__(version: str, namespacePrefix: str, schemaUri: str, schemaUrl: str, localPath: pathlib.Path)[source]

Constructor

Version = None

Schema version

NamespacePrefix = None

XML namespace prefix

SchemaUri = None

schema URI

SchemaUrl = None

schema URL

LocalPath = None

local path

class pyIPXACT.Vlnv(vendor, library, name, version)[source]

Bases: object

VLNV data structure (Vendor, Library, Name, Version) as a unique identifier in IP-XACT.

__init__(vendor, library, name, version)[source]

Constructor

Vendor = None

Vendor name in a VLNV unique identifier

Library = None

Library name in a VLNV unique identifier

Name = None

Component name in a VLNV unique identifier

Version = None

Version in a VLNV unique identifier

ToXml(indent=1, isVersionedIdentifier=False)[source]

Converts the object’s data into XML format.

class pyIPXACT.RootElement(vlnv)[source]

Bases: object

Base-class for all IP-XACT data classes.

__init__(vlnv)[source]

Base-constructor to set a VLNV field for all derives classes.

_vlnv = None

VLNV unique identifier.

exception pyIPXACT.PyIpxactException[source]

Bases: Exception

Base-exception for all exceptions in this package.