Read, modify, and create Cadsoft EAGLE files
A Python package for creating, modifying, and writing Cadsoft EAGLE files
For writing EAGLE files, the non-standard Python package [lxml] is required. If lxml is not available (for example, with IronPython), it is still possible to read EAGLE files, but it is not possible to write EAGLE files.
To install, use pip:
pip install eaglepy
The source code (with examples) is available from the GitHub repository:
The package can be installed from the source code by invoking
python setup.py install
from the source directory.
As a basic example, the following will create (and save) an empty schematic:
from eaglepy import default_layers, eagle schematic_path = 'schematic.sch' schematic = eagle.Schematic(sheets = [eagle.Sheet()]) drawing = eagle.Drawing(grid = eagle.Grid(), layers = default_layers.get_layers(), document = schematic) e = eagle.Eagle(drawing) e.save(schematic_path)
There are a number of example modules provided in the GitHub repository.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size eaglepy-1.0.0.tar.gz (26.6 kB)||File type Source||Python version None||Upload date||Hashes View|