A Python package for creating, modifying, and writing Cadsoft EAGLE files
Dependencies
For writing EAGLE files, the non-standard Python package [lxml] is required. This can be installed using pip:
pip install lxml
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.
Installation
The package can be installed by cloning into the repository and then invoking setup.py from the source directory:
python setup.py install
This package is also avilable on the [Python Package Index][ppi], and can be installed using pip:
pip install eaglepy
Basic Usage
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)
Documentation
More extensive documentation is available [here][doc].
There are a number of example modules provided in the examples/ directory.
[lxml]: http://lxml.de/ [ppi]: https://pypi.python.org/pypi/eaglepy [doc]: http://richard-h-clark.com/projects/eaglepy
Metadata
Release files for eaglepy 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eaglepy-1.0.3.tar.gz | 26.7 kB | Without provenance | Details for eaglepy-1.0.3.tar.gz |
Release files / eaglepy-1.0.3.tar.gz
| Download URL | eaglepy-1.0.3.tar.gz |
|---|---|
| Size | 26.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a20466f0966f12548458860ea8f7b5e794d828f5c99f4c69a7089bf01fd904e9
|
|
BLAKE2b-256 checksum How to use checksums |
e4ddf1c97b6241671486fc2b3d5c33ed28fa378c3c9173762fc1d5e94dcd0047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for eaglepy 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.