Justin318 / pyeagle

PyEAGLE - Read/Write EAGLE 6 CAD files with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyEAGLE - Read / Write Cadsoft EAGLE Files

Scott Torborg

PyEAGLE is an interchange API to read and write Cadsoft EAGLE XML (v6 and later) schematic, library, and PCB layout files.

Documentation is hosted at Read The Docs.

Installation

Install with pip:

$ pip install pyeagle

License

PyEAGLE is licensed under an MIT license. Please see the LICENSE file for more information.

Example Usage

import pyeagle
from pyeagle.render import SVGRenderer

schematic = pyeagle.open('hello.sch')

lib = pyeagle.open('SparkFun-Sensors.lbr')
for part in lib:
    print(part)

package = lib.packages['LGA28L']

SVGRenderer(package, lib.layers).save('lga28l.svg')

About

PyEAGLE - Read/Write EAGLE 6 CAD files with Python

License:Other


Languages

Language:Eagle 97.2%Language:Python 2.8%