Commit graph

36 commits

Author SHA1 Message Date
eb81101672 [OverlayLibrary] allow rename into a name we previously renamed out of 2026-09-14 21:57:07 -07:00
890e7e5c0f [BuildLibrary] allow prefixing/renaming/postprocessing in BuildCellsView 2026-08-28 20:25:14 -07:00
ac34108253 [library] auto-rename single-use names in add_source 2026-07-16 08:36:19 -07:00
93dd3503ca [library / gdsii] add materialize_detached and do some more cleanup 2026-07-14 22:18:17 -07:00
95e54acf96 [file.utils] add preflight_source_aware 2026-07-14 19:18:46 -07:00
cbf75319ad [PortLoadView / LayerMappedView] rename/add new views 2026-07-14 11:18:20 -07:00
e7f7cae8b9 [library / gdsii] more cleanup 2026-07-13 21:40:10 -07:00
7b589e4f44 [library / gdsii] cleanup using new library rework 2026-07-13 21:37:52 -07:00
0edd735a11 [library] More library rework 2026-07-13 12:24:33 -07:00
7083edc7ca [PortsLibraryView] now accepts overrides 2026-07-09 19:47:26 -07:00
02a3708b30 [library] Split library.py into multiple files 2026-07-09 13:17:36 -07:00
jan
7aaf73cb37 WIP: make libraries and names first-class! 2023-10-15 16:18:32 -07:00
jan
36f6edac21 fix wrong var name 2022-02-28 23:38:34 -08:00
jan
210f5c21bc wrap_device can be used on DeviceLibrary 2022-02-28 23:38:17 -08:00
jan
bfee560693 simplify type hints 2022-02-28 23:37:48 -08:00
jan
f4c2357737 fix type hint 2022-02-28 23:03:42 -08:00
jan
d8b60da827 use_ours & use_theirs should be passed verbatim to the underlying library 2022-02-28 23:03:01 -08:00
jan
3b0ef1e08d always couple LibDeviceLibrary keys to the underlying Library
See comment for why this is necessary
2022-02-28 23:02:36 -08:00
jan
7603a7a1c8 fix typevar naming 2022-02-28 23:00:53 -08:00
jan
0c1954c9d1 fix missing imports 2022-02-28 23:00:31 -08:00
jan
780d1ca97f export LibDeviceLibrary 2022-02-27 21:23:03 -08:00
jan
fc7a6c6f4a fix some unused code 2022-02-27 21:23:03 -08:00
jan
81430fe632 add LibDeviceLibrary 2022-02-27 21:23:03 -08:00
jan
6a1208bc33 add some helper functions to libraries 2022-02-27 21:23:03 -08:00
jan
f36350ebee Add some warnings around cache invalidation when mutating items 2022-02-27 21:23:03 -08:00
jan
2e5d51b0af resolve name conflicts rather than just giving up
this lets us merge libraries without having to mutate `other`, which
brings a bunch of problems around cache invalidation
2022-02-27 21:23:03 -08:00
jan
566ba99f9c set_const doesn't need to take in a separate key, can just use the pattern's name
might as well make the convenience function convenient
2022-02-27 21:23:03 -08:00
jan
86315fc32b improve DeviceLibrary docstring 2022-02-27 21:23:03 -08:00
jan
89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2022-02-23 15:16:25 -08:00
177f9952a5 Add builder submodule, Device and Port definitions, and DeviceLibrary 2020-11-09 22:09:47 -08:00
eb11f31960 improve type hints for Library 2020-10-26 19:58:25 -07:00
f364970403 style and type fixes (per flake8)
could potentially fix some bugs in `Library` class and dxf reader
2020-10-16 19:00:50 -07:00
5bc82b9d49 __iter__ should actually return an iterator 2020-10-10 19:11:52 -07:00
03a359e446 add more dict-like methods 2020-09-28 23:49:42 -07:00
b873a5ddf3 make __getitem__ call get_primary rather than the other way around
this makes subclassing easier
2020-09-28 23:49:33 -07:00
aa5696d884 Add Library management functionality 2020-09-26 17:37:23 -07:00