{"id":13736330,"url":"https://github.com/fsitok/spicex","last_synced_at":"2025-05-08T12:32:37.160Z","repository":{"id":171598593,"uuid":"168185755","full_name":"fsitok/spicex","owner":"fsitok","description":"Netlist extraction into SPICE format for KLayout.","archived":false,"fork":false,"pushed_at":"2019-01-31T12:58:13.000Z","size":23,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-15T04:32:10.787Z","etag":null,"topics":["klayout","python","spice"],"latest_commit_sha":null,"homepage":"https://codeberg.org/tok/spicex","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fsitok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-01-29T16:16:32.000Z","updated_at":"2024-05-15T11:19:20.000Z","dependencies_parsed_at":"2024-01-24T22:02:42.742Z","dependency_job_id":null,"html_url":"https://github.com/fsitok/spicex","commit_stats":null,"previous_names":["fsitok/spicex"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsitok%2Fspicex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsitok%2Fspicex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsitok%2Fspicex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsitok%2Fspicex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fsitok","download_url":"https://codeload.github.com/fsitok/spicex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253068937,"owners_count":21848893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["klayout","python","spice"],"created_at":"2024-08-03T03:01:19.761Z","updated_at":"2025-05-08T12:32:32.147Z","avatar_url":"https://github.com/fsitok.png","language":"Python","funding_links":[],"categories":["layout"],"sub_categories":[],"readme":"# SpiceX\nNetlist extraction into SPICE format for KLayout.\n\nNote: This code used KLayout on the `dvb` branch. It's probably not stable.\n\n## Example\n\n```python\nimport pya\nimport spicex\n\n\"\"\"\n\nNetlist extraction is skipped here.\nSee KLayout documentation on how to extract a netlist.\n\nhttps://github.com/KLayout/klayout/wiki/2019-01-07\n\n\"\"\"\n\n# Perform netlist extraction\nl2n.extract_netlist()\n\nnetlist = l2n.netlist()\nnetlist.make_top_level_pins()\nnetlist.purge()\nnetlist.purge_nets()\n\n# Convert KLayout netlist to a PySpice netlist.\n\n# Provide the SPICE model names for the transistor types.\ndevice_class_name_to_model_mapping = {\n    'NMOS': 'NMOS_VTL',\n    'PMOS': 'PMOS_VTL'\n}\n\nspice_netlist = spicex.netlist_to_spice(netlist, device_class_name_to_model_mapping)\n\n# Dump SPICE to stdout.\nprint(spice_netlist)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsitok%2Fspicex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffsitok%2Fspicex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsitok%2Fspicex/lists"}