API Documentation

gEDA schematic file parser module (tendril.utils.files.gschem)

Detachable gEDA sch file parser and processing module. This component should perhaps be parcelled out into its own project. Additional functionality that’s tightly coupled with the tendril core (or assumptions thereof) resides instead in tendril.connectors.geda.gschem. This division might need some reconsideration in the near future, and functionality which can be safely decoupled from the core should come here instead. It will later be proxied back into the core through tendril.edaif in the future.

class tendril.utils.files.gschem.GschParam(name, parser, options, typed_parser)

Bases: tuple

Create new instance of GschParam(name, parser, options, typed_parser)

_asdict()

Return a new OrderedDict which maps field names to their values.

_field_defaults = {}
_fields = ('name', 'parser', 'options', 'typed_parser')
_fields_defaults = {}
classmethod _make(iterable)

Make a new GschParam object from a sequence or iterable

_replace(**kwds)

Return a new GschParam object replacing specified fields with new values

property name

Alias for field number 0

property options

Alias for field number 2

property parser

Alias for field number 1

property typed_parser

Alias for field number 3

class tendril.utils.files.gschem.GschFakeLines[source]

Bases: collections.deque

class tendril.utils.files.gschem.GschElementBase(parent, lines, *args)[source]

Bases: object

code = None
params = []
add_element(element)[source]
_get_multiline(lines)[source]
property parent
property attributes
get_attribute(name)[source]
remove_attribute(name)[source]
set_attribute(name, value)[source]
property _params
write_out(f)[source]
_write_lines(f)[source]
_write_embedded_elements(f)[source]
_write_elements(f)[source]
property is_embedded
property embed
class tendril.utils.files.gschem.GschElementComponent(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'C'
params = [GschParam(name='x', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='selectable', parser=<class 'int'>, options={0: False, 1: True}, typed_parser=None), GschParam(name='angle', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='mirror', parser=<class 'int'>, options={0: False, 1: True}, typed_parser=None), GschParam(name='basename', parser=<class 'str'>, options=None, typed_parser=None)]
property refdes
property value
property basename
property is_embedded
class tendril.utils.files.gschem.GschElementNet(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'N'
params = [GschParam(name='x1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='x2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None)]
class tendril.utils.files.gschem.GschElementBus(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'U'
params = [GschParam(name='x1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='x2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='ripperdir', parser=<class 'int'>, options={0: 'NEW', 1: 'A', -1: 'B'}, typed_parser=None)]
class tendril.utils.files.gschem.GschElementPin(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'P'
params = [GschParam(name='x1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='x2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='pintype', parser=<class 'int'>, options={0: 'NORMAL PIN', 1: 'BUS PIN'}, typed_parser=None), GschParam(name='whichend', parser=<class 'int'>, options={0: False, 1: True}, typed_parser=None)]
class tendril.utils.files.gschem.GschElementLine(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'L'
params = [GschParam(name='x1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='x2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='width', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='capstyle', parser=<class 'int'>, options={0: 'END NONE', 1: 'END SQUARE', 2: 'END ROUND'}, typed_parser=None), GschParam(name='dashstyle', parser=<class 'int'>, options={0: 'TYPE SOLID', 1: 'TYPE DOTTED', 2: 'TYPE DASHED', 3: 'TYPE CENTER', 4: 'TYPE PHANTOM'}, typed_parser=None), GschParam(name='dashlength', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='dashspace', parser=<class 'int'>, options=None, typed_parser=None)]
class tendril.utils.files.gschem.GschElementBox(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'B'
params = [GschParam(name='x', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='boxwidth', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='boxheight', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='width', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='capstyle', parser=<class 'int'>, options={0: 'END NONE', 1: 'END SQUARE', 2: 'END ROUND'}, typed_parser=None), GschParam(name='dashstyle', parser=<class 'int'>, options={0: 'TYPE SOLID', 1: 'TYPE DOTTED', 2: 'TYPE DASHED', 3: 'TYPE CENTER', 4: 'TYPE PHANTOM'}, typed_parser=None), GschParam(name='dashlength', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='dashspace', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='filltype', parser=<class 'int'>, options={0: 'FILLING HOLLOW', 1: 'FILLING FILL', 2: 'FILLING MESH', 3: 'FILLING HATCH', 4: 'FILLING VOID'}, typed_parser=None), GschParam(name='fillwidth', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='pitch1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='pitch2', parser=<class 'int'>, options=None, typed_parser=None)]
class tendril.utils.files.gschem.GschElementCircle(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'V'
params = [GschParam(name='x', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='radius', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='width', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='capstyle', parser=<class 'int'>, options={0: 'END NONE', 1: 'END SQUARE', 2: 'END ROUND'}, typed_parser=None), GschParam(name='dashstyle', parser=<class 'int'>, options={0: 'TYPE SOLID', 1: 'TYPE DOTTED', 2: 'TYPE DASHED', 3: 'TYPE CENTER', 4: 'TYPE PHANTOM'}, typed_parser=None), GschParam(name='dashlength', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='dashspace', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='filltype', parser=<class 'int'>, options={0: 'FILLING HOLLOW', 1: 'FILLING FILL', 2: 'FILLING MESH', 3: 'FILLING HATCH', 4: 'FILLING VOID'}, typed_parser=None), GschParam(name='fillwidth', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='pitch1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='pitch2', parser=<class 'int'>, options=None, typed_parser=None)]
class tendril.utils.files.gschem.GschElementArc(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'A'
params = [GschParam(name='x', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='radius', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='startangle', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='sweepangle', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='width', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='capstyle', parser=<class 'int'>, options={0: 'END NONE', 1: 'END SQUARE', 2: 'END ROUND'}, typed_parser=None), GschParam(name='dashstyle', parser=<class 'int'>, options={0: 'TYPE SOLID', 1: 'TYPE DOTTED', 2: 'TYPE DASHED', 3: 'TYPE CENTER', 4: 'TYPE PHANTOM'}, typed_parser=None), GschParam(name='dashlength', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='dashspace', parser=<class 'int'>, options=None, typed_parser=None)]
class tendril.utils.files.gschem.GschElementText(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'T'
params = [GschParam(name='x', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='size', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='visibility', parser=<class 'int'>, options={0: False, 1: True}, typed_parser=None), GschParam(name='show_name_value', parser=<class 'int'>, options={0: 'SHOW NAME VALUE', 1: 'SHOW VALUE', 2: 'SHOW NAME'}, typed_parser=None), GschParam(name='angle', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='alignment', parser=<class 'int'>, options={0: '0', 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8'}, typed_parser=None), GschParam(name='num_lines', parser=<class 'int'>, options=None, typed_parser=None)]
class tendril.utils.files.gschem.GschElementPicture(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'G'
params = [GschParam(name='x1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='y1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='width', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='height', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='mirror', parser=<class 'int'>, options={0: False, 1: True}, typed_parser=None), GschParam(name='embedded', parser=<class 'int'>, options={0: False, 1: True}, typed_parser=None)]
_write_lines(f)[source]
_get_multiline(lines)[source]
class tendril.utils.files.gschem.GschElementPath(parent, lines, *args)[source]

Bases: tendril.utils.files.gschem.GschElementBase

code = 'H'
params = [GschParam(name='color', parser=<class 'int'>, options={0: 'BACKGROUND_COLOR', 1: 'PIN_COLOR', 2: 'NET_ENDPOINT_COLOR', 3: 'GRAPHIC_COLOR', 4: 'NET_COLOR', 5: 'ATTRIBUTE_COLOR', 6: 'LOGIC_BUBBLE_COLOR', 7: 'DOTS_GRID_COLOR', 8: 'DETACHED_ATTRIBUTE_COLOR', 9: 'TEXT_COLOR', 10: 'BUS_COLOR', 11: 'SELECT_COLOR', 12: 'BOUNDINGBOX_COLOR', 13: 'ZOOM_BOX_COLOR', 14: 'STROKE_COLOR', 15: 'LOCK_COLOR', 16: 'OUTPUT_BACKGROUND_COLOR', 17: 'FREESTYLE1_COLOR', 18: 'FREESTYLE2_COLOR', 19: 'FREESTYLE3_COLOR', 20: 'FREESTYLE4_COLOR', 21: 'JUNCTION_COLOR', 22: 'MESH_GRID_MAJOR_COLOR', 23: 'MESH_GRID_MINOR_COLOR'}, typed_parser=None), GschParam(name='width', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='capstyle', parser=<class 'int'>, options={0: 'END NONE', 1: 'END SQUARE', 2: 'END ROUND'}, typed_parser=None), GschParam(name='dashstyle', parser=<class 'int'>, options={0: 'TYPE SOLID', 1: 'TYPE DOTTED', 2: 'TYPE DASHED', 3: 'TYPE CENTER', 4: 'TYPE PHANTOM'}, typed_parser=None), GschParam(name='dashlength', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='dashspace', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='filltype', parser=<class 'int'>, options={0: 'FILLING HOLLOW', 1: 'FILLING FILL', 2: 'FILLING MESH', 3: 'FILLING HATCH', 4: 'FILLING VOID'}, typed_parser=None), GschParam(name='fillwidth', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='pitch1', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='angle2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='pitch2', parser=<class 'int'>, options=None, typed_parser=None), GschParam(name='num_lines', parser=<class 'int'>, options=None, typed_parser=None)]
class tendril.utils.files.gschem.GschFile(fpath)[source]

Bases: object

codes = {'A': <class 'tendril.utils.files.gschem.GschElementArc'>, 'B': <class 'tendril.utils.files.gschem.GschElementBox'>, 'C': <class 'tendril.utils.files.gschem.GschElementComponent'>, 'G': <class 'tendril.utils.files.gschem.GschElementPicture'>, 'H': <class 'tendril.utils.files.gschem.GschElementPath'>, 'L': <class 'tendril.utils.files.gschem.GschElementLine'>, 'N': <class 'tendril.utils.files.gschem.GschElementNet'>, 'P': <class 'tendril.utils.files.gschem.GschElementPin'>, 'T': <class 'tendril.utils.files.gschem.GschElementText'>, 'U': <class 'tendril.utils.files.gschem.GschElementBus'>, 'V': <class 'tendril.utils.files.gschem.GschElementCircle'>}
property components
_component_generator()[source]
get_component(refdes)[source]
remove_component(refdes)[source]
property meta_components
_meta_component_generator()[source]
get_meta_components(regex)[source]
add_element(element)[source]
_get_version(lines)[source]
_get_next_element(parent, lines)[source]
_load_file()[source]
write_out(f)[source]