Module Expr Str ImportFrom alias alias Import alias Import alias Import alias Import alias Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Num For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Str AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad NameLoad AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Return CompareEq SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num decorator_list If CompareEq NameLoad Str body If CompareIn Call NameLoad AttributeLoad NameLoad attr TupleLoad Num Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call NameLoad NameLoad NameLoad orelse If BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str body If Call NameLoad NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Expr Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num orelse Expr Call NameLoad Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Num
N/A N/A 
compile_pro.py
Copyright 2015 Adam Greig
Licensed under the MIT licence, see LICENSE file for details.

Generate a kicad .pro project file containing all the libraries in a given
directory and otherwise empty.
 __future__ print_function division N/A sys N/A os N/A fnmatch N/A datetime N/A tpl update={date}
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[general]
version=1
[eeschema]
version=1
LibDir=
[eeschema/libraries]
 makeprj N/A N/A libpath N/A N/A N/A prj N/A N/A tpl format date N/A N/A N/A N/A N/A datetime datetime utcnow strftime %a %d %b %Y %H:%M:%S GMT N/A count 1 N/A N/A dirpath dirnames files N/A N/A os walk libpath N/A N/A N/A N/A dirnames sort N/A f N/A N/A fnmatch filter N/A sorted files *.lib N/A N/A path N/A N/A N/A os path join dirpath N/A N/A N/A N/A os path splitext f N/A 0 N/A path N/A N/A path replace \ / N/A prj N/A N/A LibName{}={}
 format count path N/A count 1 N/A prj N/A writeprj N/A N/A libpath prjpath N/A N/A N/A prj N/A makeprj libpath N/A N/A open prjpath w f N/A N/A N/A N/A f write prj N/A checkprj N/A N/A libpath prjpath N/A N/A N/A prj N/A N/A N/A makeprj libpath splitlines N/A N/A open prjpath r f N/A N/A oldprj N/A N/A N/A N/A f read splitlines N/A N/A N/A prj N/A 1 N/A oldprj N/A 1 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A len N/A sys argv N/A 3 4 N/A N/A libpath N/A N/A sys argv N/A 1 N/A prjpath N/A N/A sys argv N/A 2 N/A N/A N/A len N/A sys argv 3 N/A N/A N/A writeprj libpath prjpath N/A N/A N/A N/A N/A len N/A sys argv 4 N/A N/A N/A sys argv N/A 3 --verify N/A N/A N/A checkprj libpath prjpath N/A N/A N/A print N/A N/A OK: '{}' is up-to-date with '{}'. format prjpath libpath N/A N/A N/A sys exit 0 N/A N/A N/A print N/A N/A Error: '{}' is not up-to-date with '{}'. format prjpath libpath file N/A sys stderr N/A N/A print Please run compile_pro.py to regenerate. file N/A sys stderr N/A N/A N/A sys exit 1 N/A N/A N/A print N/A N/A Usage: {} <lib dir path> <.pro file path> [--verify] format N/A N/A sys argv N/A 0 N/A N/A N/A sys exit 1