API

Annotation

Collection

class snekbol.collection.Collection(identity, members=[], **kwargs)

Bases: snekbol.identified.TopLevel

Groups together a set of TopLevel objects that have something in common

Component defintion

Components

Document

Identified

class snekbol.identified.GenericTopLevel(identity, rdf_type, **kwargs)

Bases: snekbol.identified.TopLevel

class snekbol.identified.Identified(identity, name=None, was_derived_from=None, version=None, description=None, display_id=None, annotations=[])

Bases: object

Mixin to provide identity support to SBOL objects

class snekbol.identified.TopLevel(identity, **kwargs)

Bases: snekbol.identified.Identified

Mixin to indicate SBOL object is top level and should not be nested

Location

Model

Sequence

Namespaces

snekbol.namespaces.NS(namespace, tag)

Generate a namespaced tag for use in creation of an XML file

Types