Gdsfactory

Latest version: v7.26.1

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 28 of 70

5.4.1

- bring back python3.7 compatibility [PR](https://github.com/gdsfactory/gdsfactory/pull/338)
- rename `vars` to `settings` in `read.from_yaml` [PR](https://github.com/gdsfactory/gdsfactory/pull/339)
- use settings combined with kwargs for getting component name
- fix mirror issue in `gf.read.from_yaml` [PR](https://github.com/gdsfactory/gdsfactory/pull/341)

[5.4.0](https://github.com/gdsfactory/gdsfactory/pull/337)

- add `gf yaml watch` folder watcher using watchdog, looking for `pic.yml` files
- add `PDK.register_cells_yaml`

5.3.8

- update netlist driven flow tutorial with ipywidgets, so you can live update the YAML and see it in matplotlib and Klayout [PR](https://github.com/gdsfactory/gdsfactory/pull/329)
- [PR fixes problem with showing new layers, not in the previous layer props](https://github.com/gdsfactory/gdsfactory/pull/328)
- [fix show](https://github.com/gdsfactory/gdsfactory/pull/326)
- Fixes gf.show() when gdsdir is passed as a kwarg (for cases when the user wants to retain the output gds file at a specific directory)
- Changes the default behavior to use a context manager to clean up the temp directory after it is created
- Adds tests for the two different invocation types

[5.3.7](https://github.com/gdsfactory/gdsfactory/pull/325)

- add ipywidgets for `read_from_yaml` netlist driven flow tutorial.

[5.3.6](https://github.com/gdsfactory/gdsfactory/pull/324)

- update gf.read.from_dphox to the latest version

[5.3.5](https://github.com/gdsfactory/gdsfactory/pull/323)

- [clean code](https://github.com/gdsfactory/gdsfactory/pull/321)
- if no optical ports found with add_fiber_array or add_fiber_array it will raise ValueError [inspired by issue](https://github.com/gdsfactory/gdsfactory/issues/322)

[5.3.4](https://github.com/gdsfactory/gdsfactory/pull/320)

- fix tests

[5.3.3](https://github.com/gdsfactory/gdsfactory/pull/319)

- [copy component info and settings if they exist](https://github.com/gdsfactory/gdsfactory/pull/316)
- clean code
- add https://sonarcloud.io code checker
- add https://sourcery.ai code checker
- drop support for python3.7 so we can use [named expressions only supported in python >= 3.8](https://docs.sourcery.ai/refactorings/use-named-expression/)

[5.3.0](https://github.com/gdsfactory/gdsfactory/pull/312)

- fix some fstrings [issues](https://github.com/gdsfactory/gdsfactory/issues/311)
- fix lumerical notebook [typo](https://github.com/gdsfactory/gdsfactory/issues/309)
- enable Component.plot() with ports with orientation = None
- add gf.routing.get_route_from_steps_electrical
- rename ComponentFactory to ComponentSpec and ComponentOrFactory to ComponentSpec [PR](https://github.com/gdsfactory/gdsfactory/pull/313)
- replace callable(component) with gf.get_component(component)
- replace some call_if_func(component) with gf.get_component(component)

[5.2.9](https://github.com/gdsfactory/gdsfactory/pull/308)

- route ports with orientation = None

[5.2.8](https://github.com/gdsfactory/gdsfactory/pull/307)

- add more type annotations. To reduce the number of mypy errors.
- [PR](https://github.com/gdsfactory/gdsfactory/pull/306)

[5.2.7](https://github.com/gdsfactory/gdsfactory/pull/305)

- fix [issue](https://github.com/gdsfactory/gdsfactory/issues/301)
- show how to customize text_with_grid [issue](https://github.com/gdsfactory/gdsfactory/issues/302)

[5.2.6](https://github.com/gdsfactory/gdsfactory/pull/304)

- remove tempfile and tmpdir after Component.show() sends GDS to klayout. To avoid filling /tmp/ with GDS files

[5.2.5](https://github.com/gdsfactory/gdsfactory/pull/303)

- add fail_on_duplicates=False to add_ports_from_labels

[5.2.4](https://github.com/gdsfactory/gdsfactory/pull/299)

- allow ports to have None orientation. The idea is that DC ports don't care about orientation. This still requires some work.
- adapt route_sharp from phidl to gf.routing.route_sharp for electrical routes
- cross_section function width and offset parameters are consistent with CrossSection class

5.2.3

- add electrical routes to routing_strategy

[5.2.2](https://github.com/gdsfactory/gdsfactory/pull/296)

- add `get_name_from_label` to `add_ports_from_labels`
- add optional `layer_label` to `add_ports_from_labels`
- remove `.` in clean_name, before it was renaming `.` to `p`

[5.2.1](https://github.com/gdsfactory/gdsfactory/pull/289)

- [PR](https://github.com/gdsfactory/gdsfactory/pull/289)

- rename cladding_offsets as bbox_offsets
- copy_child_info propagates polarization and wavelength info

- make sure 0 or None is 0 in `xmin` or `xmax` keys from component_from_yaml

[5.2.0](https://github.com/gdsfactory/gdsfactory/pull/287)

- rename `contact` to `via_stack`

[5.1.2](https://github.com/gdsfactory/gdsfactory/pull/286)

- `Component.remove_layers` also removes layers from paths
- add `bbox_layers` and `bbox_offsets` to `taper`

[5.1.1](https://github.com/gdsfactory/gdsfactory/pull/285)

- add `gf yaml webapp -d` or `gf yaml webapp --debug` for debug mode
- fix [get_netlist for component arrays issue](https://github.com/gdsfactory/gdsfactory/issues/263)

[5.1.0](https://github.com/gdsfactory/gdsfactory/pull/284)

- improve shear angle algorithm to work with waveguides at any angle [PR](https://github.com/gdsfactory/gdsfactory/pull/283)

- add examples in notebooks
- add tests
- add shear_angle attribute to Port
- Update test_shear_face_path.py

- remove default port width, layer and center

[5.0.7](https://github.com/gdsfactory/gdsfactory/pull/281)

- define layermap as pydantic BaseModel
- Sometimes it is desirable to have a waveguide with a shear face (i.e. the port face is not orthogonal to the propagation direction, but slightly slanted). [PR](https://github.com/gdsfactory/gdsfactory/pull/280) adds the capability to extrude basic waveguides with shear faces.

[5.0.6](https://github.com/gdsfactory/gdsfactory/pull/279)

- fix set active PDK on component_from_yaml

[5.0.5](https://github.com/gdsfactory/gdsfactory/pull/278)

- implements `get_active_pdk()` and `set_active_pdk()` functions to avoid side-effects of using ACTIVE_PDK global variable in different scopes. Renames `ACTIVE_PDK` to `_ACTIVE_PDK` to make it private, and instead promotes `get_active_pdk()`
- fixes instances where cross_section was specified and/or used as a factory rather than CrossSectionSpec
- fixes cases where cross_section was directly called as a function rather than invoking get_cross_section(cross_section) pattern
- Section.layer type needs to be the Union of Layer and Tuple[Layer,Layer] as long as we use the current implementation of Transition
- when getting instances in read_yaml(), uses the dictionary ComponentSpec format to get each component rather than using component name and `**settings` the old method causes an error for container-style components which have an argument named component
- for CrossSection class, makes info non-optional and by default instantiates empty dictionary. also replaces default values for mutable types with factories creating empty mutable types
- for cross_section() function, removes unused args

[5.0.4](https://github.com/gdsfactory/gdsfactory/pull/277)

- fix cross_section from get_route_from_steps
- replace CrossSectionFactory to CrossSectionSpec
- replace ComponentFactory to ComponentSpec

[5.0.3](https://github.com/gdsfactory/gdsfactory/pull/276)

- fix mmi1x2 and 2x2 definition to use waveguide cross_sections

[5.0.2](https://github.com/gdsfactory/gdsfactory/pull/275)

- get_cells and get_component_factories work with module and list of modules
- add `gf.get_cells` and `gf.get_cross_section_factories`
- get_component and get_cross_section accepts also omegaconf.DictConfig
- add pack_doe and pack_doe_grid to containers
- add gf.get_cell, and enable partials

[5.0.1](https://github.com/gdsfactory/gdsfactory/pull/274)

- fix bends bbox

[5.0.0](https://github.com/gdsfactory/gdsfactory/pull/273)

- refactor cross_section. I recommend reviewing the Layout Tutorial -> Paths and CrossSections
- include routing parameters (width, layer)
- rename ports to port_names
- make it immutable and remove add method
- raise Error when creating a foreign key
- rename `ports` to `port_names`
- refactor Section
- make it immutable
- raise Error when creating a foreign key
- add gf.Pdk
- add gf.get_component(component_spec) returns a Component from the active PDK using the registered Cells
- add gf.get_cross_section(cross_section_spec) returns a CrossSection from the active PDK using the registered CrossSectionFactory
- add Pdk.register_cells()
- add Pdk.register_cross_sections()
- add gf.ACTIVE_PDK
- delete klayout autoplacer code. Use gf.read.from_yaml instead.
- delete YAML placer code. Use gf.read.from_yaml instead.

[4.7.3](https://github.com/gdsfactory/gdsfactory/pull/272)

- add `has_routing_info` to CrossSection to ensure it has routing information
- rename cross_section_factory to cross_sections
- rename component_factory to cells
- add ComponentSpec, CrossSectionSpec, gf.get_component, gf.get_cross_section, gf.Pdk

[4.7.2](https://github.com/gdsfactory/gdsfactory/pull/270)

- add vscode plugin to docs
- get_bundle accepts also cross_section as well as cross_section_factory
- rename gethash to text_lines
- simplify component_factory definition
- simplify cross_section_factory definition

[4.7.1](https://github.com/gdsfactory/gdsfactory/pull/265)

- `gf yaml build` can read from stdin

[4.7.0](https://github.com/gdsfactory/gdsfactory/pull/264)

- convert LayerStack from dict to BaseModel, which accepts a single layers: Dict[str, LayerLevel]
- add gf.get_factories to get_component_factories and get_module_factories
- add `gf yaml build filepath` where filepath is a YAML path that you want to show in klayout
- update to phidl 1.6.1

[4.6.3](https://github.com/gdsfactory/gdsfactory/pull/262)

- pack_doe and pack_doe_grid have a function argument
- fix netlist.json schema for instances to have pack kwarg
- add `gf yaml watch` CLI command to watch a YAML file

4.6.2

- add Component.get_netlist
- document gdsfactory to sax

[4.6.1](https://github.com/gdsfactory/gdsfactory/pull/261)

- add xmin, xmax, ymin, ymax to JSON schema
- remove placer schema, as it's being deprecated in favor of JSON YAML schema

[4.6.0](https://github.com/gdsfactory/gdsfactory/pull/260)

- add `pack_doe` and `pack_doe_grid` as part of YAML component definition.
- add deprecation warning on gf.placer and gf.autoplacer.
- add `get_module_factories` to get all Component factories from a module.
- add gf.read.from_yaml placer support for xmin, xmax, ymin, ymax
- simpler documentation (remove API, gf, YAML mask)
- remove mask klayout YAML placer documentation, as it's being deprecated

[4.5.4](https://github.com/gdsfactory/gdsfactory/pull/258)

- enable schema validation in `ic yaml ide`
- validate schema and fail with unknown keys

[4.5.3](https://github.com/gdsfactory/gdsfactory/pull/257)

- icyaml does not validate schema
- routes = None by default in NetlistModel

[4.5.2](https://github.com/gdsfactory/gdsfactory/pull/256)

- better cross_section parsing in YAML component [PR](https://github.com/gdsfactory/gdsfactory/pull/254)
- recursive netlist extraction [PR](https://github.com/gdsfactory/gdsfactory/pull/255)
- add Component.get_netlist_recursive()

[4.5.1](https://github.com/gdsfactory/gdsfactory/pull/253)

- replace asserts by raise ValueError in read.from_yaml

[4.5.0](https://github.com/gdsfactory/gdsfactory/pull/252)

- `gf yaml ide` brings up dashboard to build YAML based circuits.
- gf.read.from_yaml has `cache=False` by default.
- revert get_netlist to version 4.0.17, add option `full_settings=False` back.
- fix notebook examples for extruding cross_sections with variable width or offset. Increased default `npoints = 2` to `npoints = 40`

4.4.15

- fix add_pins_siepic order [PR](https://github.com/gdsfactory/gdsfactory/pull/248)

4.4.14

- add cross_section settings to cutback_bend [PR](https://github.com/gdsfactory/gdsfactory/pull/246)

Page 28 of 70

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.