pyaltium.sch._helpers#

Module Contents#

Classes#

SchLibItemRecordType

These types are stored in a schematic file.

SchPinType

Possible types for a pin.

Functions#

pinstr_worker(s_in)

pinstr_to_records(s)

Actually take a pin string and turn it into usable records.

Attributes#

class pyaltium.sch._helpers.SchLibItemRecordType#

Bases: enum.IntEnum

These types are stored in a schematic file.

UNDEFINED = 0#
COMPONENT = 1#
PIN = 2#
IEEE_SYMBOL = 3#
LABEL = 4#
BEZIER = 5#
POLYLINE = 6#
POLYGON = 7#
ELLIPSE = 8#
PIECHART = 9#
RECTANGLE_ROUND = 10#
ELIPTICAL_ARC = 11#
ARC = 12#
LINE = 13#
RECTANGLE = 14#
SHEET_SYMBOL = 15#
SHEET_ENTRY = 16#
POWER_PORT = 17#
PORT = 18#
NO_ERC = 22#
NET_LABEL = 25#
BUS = 26#
WIRE = 27#
TEXT_FRAME = 28#
JUNCTION = 29#
IMAGE = 30#
SHEET = 31#
SHEET_NAME = 32#
FILE_NAME = 33#
DESIGNATOR = 34#
BUS_ENTRY = 37#
TEMPLATE = 39#
PARAMETER = 41#
IMPLEMENTATION_LIST = 44#
class pyaltium.sch._helpers.SchPinType#

Bases: enum.IntEnum

Possible types for a pin.

INPUT = 0#
IO = 1#
OUTPUT = 2#
OPEN_COLLECTOR = 3#
PASSIVE = 4#
HIGH_Z = 5#
OPEN_EMITTER = 6#
POWER = 7#
pyaltium.sch._helpers.PinRecType#
pyaltium.sch._helpers.pinstr_worker(s_in)#
Parameters

s_in (bytes) –

Return type

Tuple[PinRecType, str]

pyaltium.sch._helpers.pinstr_to_records(s)#

Actually take a pin string and turn it into usable records.

Parameters

s (bytes) –

Return type

List[PinRecType]