{"id":20602425,"url":"https://github.com/augustunderground/pyspectre","last_synced_at":"2025-04-15T01:53:50.352Z","repository":{"id":112836303,"uuid":"543219242","full_name":"AugustUnderground/pyspectre","owner":"AugustUnderground","description":"Python interface for Cadence Spectre","archived":false,"fork":false,"pushed_at":"2025-02-09T17:12:02.000Z","size":106,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T01:53:45.342Z","etag":null,"topics":["cadence-spectre","circuit-simulation","python"],"latest_commit_sha":null,"homepage":"https://augustunderground.github.io/pyspectre","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AugustUnderground.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-29T16:28:41.000Z","updated_at":"2025-03-16T03:19:47.000Z","dependencies_parsed_at":"2024-11-11T09:28:57.085Z","dependency_job_id":null,"html_url":"https://github.com/AugustUnderground/pyspectre","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fpyspectre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fpyspectre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fpyspectre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fpyspectre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AugustUnderground","download_url":"https://codeload.github.com/AugustUnderground/pyspectre/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991540,"owners_count":21194894,"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":["cadence-spectre","circuit-simulation","python"],"created_at":"2024-11-16T09:13:50.906Z","updated_at":"2025-04-15T01:53:50.335Z","avatar_url":"https://github.com/AugustUnderground.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PySpectre\n\nPython interface to Cadence Spectre.\n\n## Dependencies and Requirements\n\n- Python 3.9\n- [pynut](https://github.com/augustunderground/pynut).\n- [Cadence Spectre](https://www.cadence.com/en_US/home/tools/custom-ic-analog-rf-design/circuit-simulation/spectre-simulation-platform.html), the `spectre` command should be available in you shell\n\n## Installation\n\n```sh\n$ pip install git+https://github.com/augustunderground/pyspectre.git\n```\n\n## Example\n\nSimulate a netlist and retrieve simulation results:\n\n```python\nimport pyspectre as ps\n\nnetlist  = 'path/to/netlist.scs'\nincludes = ['path/to/pdk/libs']\n\nresults  = ps.simulate(netlist, includes)\n```\n\nStart an interactive session:\n\n```python\nimport pyspectre as ps\n\nnetlist  = 'path/to/netlist.scs'\nincludes = ['path/to/pdk/libs']\n\n# Start Interactive session\nsession  = ps.start_session(netlist, includes)\n\n# Retrieve simulation analyses defined in the netlist\nanalyses = ps.get_analyses(session)\n\n# Get values for parameters defined in the netlist\nparams   = ps.get_parameters(session, ['Wcm2', 'Ld'])\n\n# Set netlist parameters\nps.set_parameters(session, {'Wcm2': 2.0e-6, 'Ld': 1.0e-6})\n\n# Simulate\nresults  = ps.run_all(session)\n\n# End Interactive session\nps.stop_session(session)\n```\n\nCheck `./test/example.py` and `./notebooks/introduction.ipynb` for more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustunderground%2Fpyspectre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugustunderground%2Fpyspectre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustunderground%2Fpyspectre/lists"}