{"id":34072704,"url":"https://github.com/devkingsejong/ngspice-json-cli","last_synced_at":"2025-12-14T08:17:18.100Z","repository":{"id":51369794,"uuid":"344086590","full_name":"devkingsejong/ngspice-json-cli","owner":"devkingsejong","description":"Print NGSPICE result as JSON","archived":false,"fork":false,"pushed_at":"2024-07-14T06:12:10.000Z","size":183,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-14T07:24:57.087Z","etag":null,"topics":["circuit","electronics","ngspice","python","simulator","simulators"],"latest_commit_sha":null,"homepage":"https://www.ngspicecloud.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devkingsejong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-03T10:24:48.000Z","updated_at":"2024-07-14T06:12:02.000Z","dependencies_parsed_at":"2023-11-09T13:05:44.731Z","dependency_job_id":"2c3ac4ba-7059-486d-8592-6278723fb4e3","html_url":"https://github.com/devkingsejong/ngspice-json-cli","commit_stats":{"total_commits":90,"total_committers":1,"mean_commits":90.0,"dds":0.0,"last_synced_commit":"6724a9d0d18c03fcb7921169aa76e72c0480bdff"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/devkingsejong/ngspice-json-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkingsejong%2Fngspice-json-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkingsejong%2Fngspice-json-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkingsejong%2Fngspice-json-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkingsejong%2Fngspice-json-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkingsejong","download_url":"https://codeload.github.com/devkingsejong/ngspice-json-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkingsejong%2Fngspice-json-cli/sbom","scorecard":{"id":337799,"data":{"date":"2025-08-11","repo":{"name":"github.com/devkingsejong/ngspice-json-cli","commit":"2f6ac70760d5c63f7a66f8fd6df954bd8924ea5b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 5/18 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/main_deploy.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/devkingsejong/ngspice-json-cli/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/devkingsejong/ngspice-json-cli/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/devkingsejong/ngspice-json-cli/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main_deploy.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/devkingsejong/ngspice-json-cli/main_deploy.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ubuntu:18.04 to ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/main_deploy.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/main_deploy.yml:46","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-62 / GHSA-m2qf-hxjv-5gpq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T05:09:14.322Z","repository_id":51369794,"created_at":"2025-08-18T05:09:14.322Z","updated_at":"2025-08-18T05:09:14.322Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27722922,"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","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["circuit","electronics","ngspice","python","simulator","simulators"],"created_at":"2025-12-14T08:17:17.296Z","updated_at":"2025-12-14T08:17:18.090Z","avatar_url":"https://github.com/devkingsejong.png","language":"Python","readme":"# ngspice-json-cli\nPrint NGSPICE result as JSON\n\n[![](https://img.shields.io/badge/Ngspice-27%2C34-orange)]()\n[![](https://img.shields.io/badge/Python-3.8%2C3.9-blue)]()\n\nngspice-json-cli can\n\n1. Simulate Ngspice circuit.(via ngspice program)\n2. Get ngspice printed result as Json type\n\n:) You can also run ngspice-json-cli as server-mode\nhttps://www.ngspicecloud.com\n\n\n\nhttps://user-images.githubusercontent.com/24914631/218299169-1145b057-d103-495a-b94f-0ce5c8a38e51.mov\n\n\n\n## How to install\n\n1. Install ngspice\n\nClick the right link to download Ngspice. [download ngspice](http://ngspice.sourceforge.net/download.html)\n\nCurrently, the version 27 and 34 have been confirmed to be support.\n\n2. Install ngspice-json-cli from git \n\n```\n\u003e git clone https://github.com/devkingsejong/ngspice-json-cli.git\n\u003e cd ngspice-json-cli\n\u003e pip install -r ngspicejson/requirements.txt\n```\n\n3. Test run\n```\n\u003e python -m ngspicejson.ngspice_json_cli run --command=\"show all\" --file=\"default_test_circuit.cir\" --debug=\"True\"\n```\n\nThat command will be returned json array.\n\n## Basic Usage\n\n### Command\n\nCommand|Notes|\n|---------|---|\n|run|The simulation result is print in the data type mentioned below.(You can use --option value.)|\n|version|Print version information.|\n|server|Run ngspice-json-cli as server mode.|\n\n#### +a Version ouput.\n```\n{\"ngspice\": \"34\", \"ngspice-json-cli\": \"0.0.1\"}\n```\n\n### Options\n\nCommand|Notes|required|\n|---------|---|-|\n|--command STR|You can designate the command to be executed after loading the circuit in Ngspice.|Y|\n|--file PATH|Please specify the path of the circuit code to be simulated in Ngspice.|Y|\n|--tag STR|If you want to print the tag with the result, enter the tag value.(Ignore False value of the debug option.)|N|\n|--debug BOOL|If you want to print the debug messages, set value to true.|N|\n|--real BOOL|If you want to print the original Ngspice output, set value to true.|N|\n\n### Data Types\n\n#### NGSPICE_CLI_ERROR\nDisplays errors returned by the Ngspice program.(This data type is always assigned as the first value in the list\n\n```json\n{\n   \"type\":\"NGSPICE_CLI_ERROR\",\n   \"contents\":[\n      \"Error: no such vector 2\"\n   ],\n   \"real\":\"\"\n}\n```\n\n#### INITIAL_TRANSIENT_SOLUTION\nParse Initialnal Trainsient Solution Value.\n\n\u003cdetails\u003e\n\u003csummary\u003eopen/close button\u003c/summary\u003e\n\u003cdiv markdown=\"1\"\u003e\n\n```json\n{\n      \"type\":\"INITIAL_TRANSIENT_SOLUTION\",\n      \"contents\":[\n         {\n            \"node\":\"int\",\n            \"values\":[\n               {\n                  \"key\":\"Voltage\",\n                  \"values\":[\n                     \"0\"\n                  ]\n               }\n            ]\n         },\n         {\n            \"node\":\"in\",\n            \"values\":[\n               {\n                  \"key\":\"Voltage\",\n                  \"values\":[\n                     \"0\"\n                  ]\n               }\n            ]\n         },\n         {\n            \"node\":\"out\",\n            \"values\":[\n               {\n                  \"key\":\"Voltage\",\n                  \"values\":[\n                     \"0\"\n                  ]\n               }\n            ]\n         },\n         {\n            \"node\":\"v1#branch\",\n            \"values\":[\n               {\n                  \"key\":\"Voltage\",\n                  \"values\":[\n                     \"0\"\n                  ]\n               }\n            ]\n         }\n      ],\n      \"real\":\"\"\n   }\n```\n\n\u003c/div\u003e\n\u003c/details\u003e\n\n\n\n#### NODEMODEL\nParse Node Model's Value.(In general, this value printed when the 'show all ' command is executed.)\n\n\u003cdetails\u003e\n\u003csummary\u003eopen/close button\u003c/summary\u003e\n\u003cdiv markdown=\"1\"\u003e\n\n```json\n {\n      \"type\":\"NODEMODEL\",\n      \"contents\":[\n         {\n            \"title\":\"Capacitor\",\n            \"description\":\"Fixed capacitor\",\n            \"contents\":[\n               {\n                  \"model\":\"c2\",\n                  \"values\":[\n                     {\n                        \"key\":\"model\",\n                        \"values\":[\n                           \"C\"\n                        ]\n                     },\n                     {\n                        \"key\":\"capacitance\",\n                        \"values\":[\n                           \"1e-07\"\n                        ]\n                     },\n                     {\n                        \"key\":\"dtemp\",\n                        \"values\":[\n                           \"0\"\n                        ]\n                     },\n                     {\n                        \"key\":\"bv_max\",\n                        \"values\":[\n                           \"1e+99\"\n                        ]\n                     },\n                     {\n                        \"key\":\"i\",\n                        \"values\":[\n                           \"4.28591e-05\"\n                        ]\n                     },\n                     {\n                        \"key\":\"p\",\n                        \"values\":[\n                           \"4.06377e-06\"\n                        ]\n                     }\n                  ]\n               },\n               {\n                  \"model\":\"c1\",\n                  \"values\":[\n                     {\n                        \"key\":\"model\",\n                        \"values\":[\n                           \"C\"\n                        ]\n                     },\n                     {\n                        \"key\":\"capacitance\",\n                        \"values\":[\n                           \"1e-06\"\n                        ]\n                     },\n                     {\n                        \"key\":\"dtemp\",\n                        \"values\":[\n                           \"0\"\n                        ]\n                     },\n                     {\n                        \"key\":\"bv_max\",\n                        \"values\":[\n                           \"1e+99\"\n                        ]\n                     },\n                     {\n                        \"key\":\"i\",\n                        \"values\":[\n                           \"0.000443373\"\n                        ]\n                     },\n                     {\n                        \"key\":\"p\",\n                        \"values\":[\n                           \"6.10419e-05\"\n                        ]\n                     }\n                  ]\n               }\n            ]\n         },\n         {\n            \"title\":\"Resistor\",\n            \"description\":\"Simple linear resistor\",\n            \"contents\":[\n               {\n                  \"model\":\"r2\",\n                  \"values\":[\n                     {\n                        \"key\":\"model\",\n                        \"values\":[\n                           \"R\"\n                        ]\n                     },\n                     {\n                        \"key\":\"resistance\",\n                        \"values\":[\n                           \"1000\"\n                        ]\n                     },\n                     {\n                        \"key\":\"ac\",\n                        \"values\":[\n                           \"1000\"\n                        ]\n                     },\n                     {\n                        \"key\":\"dtemp\",\n                        \"values\":[\n                           \"0\"\n                        ]\n                     },\n                     {\n                        \"key\":\"bv_max\",\n                        \"values\":[\n                           \"1e+99\"\n                        ]\n                     },\n                     {\n                        \"key\":\"noisy\",\n                        \"values\":[\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"i\",\n                        \"values\":[\n                           \"-4.28591e-05\"\n                        ]\n                     },\n                     {\n                        \"key\":\"p\",\n                        \"values\":[\n                           \"1.8369e-06\"\n                        ]\n                     }\n                  ]\n               },\n               {\n                  \"model\":\"r1\",\n                  \"values\":[\n                     {\n                        \"key\":\"model\",\n                        \"values\":[\n                           \"R\"\n                        ]\n                     },\n                     {\n                        \"key\":\"resistance\",\n                        \"values\":[\n                           \"10000\"\n                        ]\n                     },\n                     {\n                        \"key\":\"ac\",\n                        \"values\":[\n                           \"10000\"\n                        ]\n                     },\n                     {\n                        \"key\":\"dtemp\",\n                        \"values\":[\n                           \"0\"\n                        ]\n                     },\n                     {\n                        \"key\":\"bv_max\",\n                        \"values\":[\n                           \"1e+99\"\n                        ]\n                     },\n                     {\n                        \"key\":\"noisy\",\n                        \"values\":[\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"i\",\n                        \"values\":[\n                           \"-0.000486232\"\n                        ]\n                     },\n                     {\n                        \"key\":\"p\",\n                        \"values\":[\n                           \"0.00236422\"\n                        ]\n                     }\n                  ]\n               }\n            ]\n         },\n         {\n            \"title\":\"Vsource\",\n            \"description\":\"Independent voltage source\",\n            \"contents\":[\n               {\n                  \"model\":\"v1\",\n                  \"values\":[\n                     {\n                        \"key\":\"dc\",\n                        \"values\":[\n                           \"0\"\n                        ]\n                     },\n                     {\n                        \"key\":\"acmag\",\n                        \"values\":[\n                           \"0\"\n                        ]\n                     },\n                     {\n                        \"key\":\"pulse\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"sin\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"exp\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"pwl\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"sffm\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"am\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"trnoise\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"trrandom\",\n                        \"values\":[\n                           \"0\",\n                           \"5\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1e-06\",\n                           \"1\",\n                           \"1\"\n                        ]\n                     },\n                     {\n                        \"key\":\"i\",\n                        \"values\":[\n                           \"-0.000486232\"\n                        ]\n                     },\n                     {\n                        \"key\":\"p\",\n                        \"values\":[\n                           \"-0.00243116\"\n                        ]\n                     }\n                  ]\n               }\n            ]\n         }\n      ],\n      \"real\":\"\"\n   }\n```\n\n\u003c/div\u003e\n\u003c/details\u003e\n\n#### NGSPICE_VERSION\nParse Ngspice Verison.\n\n```json\n{\n   \"type\":\"NGSPICE_VERSION\",\n   \"contents\":[\n      {\n         \"key\":\"version\",\n         \"values\":[\n            \"34\"\n         ]\n      }\n   ],\n   \"real\": \"\"\n}  \n```\n\n#### TABULARCONTENTS\nParse Tabular Contents(In general, this value printed when the 'print' command is executed.)\n\nIf there are multiple print statements in the circuit, result data will be separated printed like \"print_#1\".\n\n\u003cdetails\u003e\n\u003csummary\u003eopen/close button\u003c/summary\u003e\n\u003cdiv markdown=\"1\"\u003e\n\n```json\n{\n      \"type\":\"TABULARCONTENTS\",\n      \"contents\":[\n         {\n            \"key\":\"print_#1\",\n            \"values\":[\n               {\n                  \"data_name\":\"time\",\n                  \"values\":[\n                     \"0.000000e+00\",\n                     \"1.000000e-08\",\n                     \"2.000000e-08\",\n                     \"4.000000e-08\",\n                     \"8.000000e-08\",\n                     \"1.600000e-07\",\n                     \"3.200000e-07\",\n                     \"6.400000e-07\",\n                     \"1.000000e-06\",\n                     \"1.005125e-06\",\n                     \"1.015374e-06\",\n                     \"1.035874e-06\",\n                     \"1.061343e-06\",\n                     \"1.112281e-06\",\n                     \"1.214156e-06\",\n                     \"1.417908e-06\",\n                     \"1.633075e-06\",\n                     \"1.969139e-06\",\n                     \"2.000000e-06\",\n                     \"2.047146e-06\",\n                     \"2.141437e-06\",\n                     \"2.330020e-06\",\n                     \"2.707185e-06\",\n                     \"3.461515e-06\",\n                     \"4.970176e-06\",\n                     \"7.987498e-06\",\n                     \"1.398750e-05\",\n                     \"1.998750e-05\",\n                     \"2.598750e-05\",\n                     \"3.198750e-05\",\n                     \"3.798750e-05\",\n                     \"4.398750e-05\",\n                     \"4.998750e-05\",\n                     \"5.598750e-05\",\n                     \"6.198750e-05\",\n                     \"6.798750e-05\",\n                     \"7.398750e-05\",\n                     \"7.998750e-05\",\n                     \"8.598750e-05\",\n                     \"9.198750e-05\",\n                     \"9.798750e-05\",\n                     \"1.039875e-04\",\n                     \"1.099875e-04\",\n                     \"1.159875e-04\",\n                     \"1.219875e-04\",\n                     \"1.279875e-04\",\n                     \"1.339875e-04\",\n                     \"1.399875e-04\",\n                     \"1.459875e-04\",\n                     \"1.519875e-04\",\n                     \"1.579875e-04\",\n                     \"1.639875e-04\",\n                     \"1.699875e-04\",\n                     \"1.759875e-04\",\n                     \"1.819875e-04\",\n                     \"1.879875e-04\",\n                     \"1.939875e-04\",\n                     \"1.999875e-04\",\n                     \"2.059875e-04\",\n                     \"2.119875e-04\",\n                     \"2.179875e-04\",\n                     \"2.239875e-04\",\n                     \"2.299875e-04\",\n                     \"2.359875e-04\",\n                     \"2.419875e-04\",\n                     \"2.479875e-04\",\n                     \"2.539875e-04\",\n                     \"2.599875e-04\",\n                     \"2.659875e-04\",\n                     \"2.719875e-04\",\n                     \"2.779875e-04\",\n                     \"2.839875e-04\",\n                     \"2.899875e-04\",\n                     \"2.959875e-04\",\n                     \"3.000000e-04\"\n                  ]\n               },\n               {\n                  \"data_name\":\"v1#branch\",\n                  \"values\":[\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"-2.56242e-06\",\n                     \"-7.68724e-06\",\n                     \"-1.79369e-05\",\n                     \"-3.06713e-05\",\n                     \"-5.61400e-05\",\n                     \"-1.07077e-04\",\n                     \"-2.08949e-04\",\n                     \"-3.16527e-04\",\n                     \"-4.84546e-04\",\n                     \"-4.99975e-04\",\n                     \"-4.99973e-04\",\n                     \"-4.99968e-04\",\n                     \"-4.99959e-04\",\n                     \"-4.99940e-04\",\n                     \"-4.99902e-04\",\n                     \"-4.99827e-04\",\n                     \"-4.99677e-04\",\n                     \"-4.99380e-04\",\n                     \"-4.99084e-04\",\n                     \"-4.98791e-04\",\n                     \"-4.98499e-04\",\n                     \"-4.98208e-04\",\n                     \"-4.97919e-04\",\n                     \"-4.97631e-04\",\n                     \"-4.97344e-04\",\n                     \"-4.97059e-04\",\n                     \"-4.96774e-04\",\n                     \"-4.96491e-04\",\n                     \"-4.96208e-04\",\n                     \"-4.95927e-04\",\n                     \"-4.95646e-04\",\n                     \"-4.95366e-04\",\n                     \"-4.95087e-04\",\n                     \"-4.94808e-04\",\n                     \"-4.94531e-04\",\n                     \"-4.94254e-04\",\n                     \"-4.93977e-04\",\n                     \"-4.93702e-04\",\n                     \"-4.93427e-04\",\n                     \"-4.93152e-04\",\n                     \"-4.92878e-04\",\n                     \"-4.92604e-04\",\n                     \"-4.92331e-04\",\n                     \"-4.92058e-04\",\n                     \"-4.91786e-04\",\n                     \"-4.91514e-04\",\n                     \"-4.91243e-04\",\n                     \"-4.90972e-04\",\n                     \"-4.90701e-04\",\n                     \"-4.90431e-04\",\n                     \"-4.90161e-04\",\n                     \"-4.89891e-04\",\n                     \"-4.89622e-04\",\n                     \"-4.89353e-04\",\n                     \"-4.89084e-04\",\n                     \"-4.88815e-04\",\n                     \"-4.88547e-04\",\n                     \"-4.88279e-04\",\n                     \"-4.88011e-04\",\n                     \"-4.87744e-04\",\n                     \"-4.87477e-04\",\n                     \"-4.87210e-04\",\n                     \"-4.86943e-04\",\n                     \"-4.86677e-04\",\n                     \"-4.86410e-04\",\n                     \"-4.86232e-04\"\n                  ]\n               }\n            ]\n         },\n         {\n            \"key\":\"print_#2\",\n            \"values\":[\n               {\n                  \"data_name\":\"time\",\n                  \"values\":[\n                     \"0.000000e+00\",\n                     \"1.000000e-08\",\n                     \"2.000000e-08\",\n                     \"4.000000e-08\",\n                     \"8.000000e-08\",\n                     \"1.600000e-07\",\n                     \"3.200000e-07\",\n                     \"6.400000e-07\",\n                     \"1.000000e-06\",\n                     \"1.005125e-06\",\n                     \"1.015374e-06\",\n                     \"1.035874e-06\",\n                     \"1.061343e-06\",\n                     \"1.112281e-06\",\n                     \"1.214156e-06\",\n                     \"1.417908e-06\",\n                     \"1.633075e-06\",\n                     \"1.969139e-06\",\n                     \"2.000000e-06\",\n                     \"2.047146e-06\",\n                     \"2.141437e-06\",\n                     \"2.330020e-06\",\n                     \"2.707185e-06\",\n                     \"3.461515e-06\",\n                     \"4.970176e-06\",\n                     \"7.987498e-06\",\n                     \"1.398750e-05\",\n                     \"1.998750e-05\",\n                     \"2.598750e-05\",\n                     \"3.198750e-05\",\n                     \"3.798750e-05\",\n                     \"4.398750e-05\",\n                     \"4.998750e-05\",\n                     \"5.598750e-05\",\n                     \"6.198750e-05\",\n                     \"6.798750e-05\",\n                     \"7.398750e-05\",\n                     \"7.998750e-05\",\n                     \"8.598750e-05\",\n                     \"9.198750e-05\",\n                     \"9.798750e-05\",\n                     \"1.039875e-04\",\n                     \"1.099875e-04\",\n                     \"1.159875e-04\",\n                     \"1.219875e-04\",\n                     \"1.279875e-04\",\n                     \"1.339875e-04\",\n                     \"1.399875e-04\",\n                     \"1.459875e-04\",\n                     \"1.519875e-04\",\n                     \"1.579875e-04\",\n                     \"1.639875e-04\",\n                     \"1.699875e-04\",\n                     \"1.759875e-04\",\n                     \"1.819875e-04\",\n                     \"1.879875e-04\",\n                     \"1.939875e-04\",\n                     \"1.999875e-04\",\n                     \"2.059875e-04\",\n                     \"2.119875e-04\",\n                     \"2.179875e-04\",\n                     \"2.239875e-04\",\n                     \"2.299875e-04\",\n                     \"2.359875e-04\",\n                     \"2.419875e-04\",\n                     \"2.479875e-04\",\n                     \"2.539875e-04\",\n                     \"2.599875e-04\",\n                     \"2.659875e-04\",\n                     \"2.719875e-04\",\n                     \"2.779875e-04\",\n                     \"2.839875e-04\",\n                     \"2.899875e-04\",\n                     \"2.959875e-04\",\n                     \"3.000000e-04\"\n                  ]\n               },\n               {\n                  \"data_name\":\"v1#branch\",\n                  \"values\":[\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"-2.56242e-06\",\n                     \"-7.68724e-06\",\n                     \"-1.79369e-05\",\n                     \"-3.06713e-05\",\n                     \"-5.61400e-05\",\n                     \"-1.07077e-04\",\n                     \"-2.08949e-04\",\n                     \"-3.16527e-04\",\n                     \"-4.84546e-04\",\n                     \"-4.99975e-04\",\n                     \"-4.99973e-04\",\n                     \"-4.99968e-04\",\n                     \"-4.99959e-04\",\n                     \"-4.99940e-04\",\n                     \"-4.99902e-04\",\n                     \"-4.99827e-04\",\n                     \"-4.99677e-04\",\n                     \"-4.99380e-04\",\n                     \"-4.99084e-04\",\n                     \"-4.98791e-04\",\n                     \"-4.98499e-04\",\n                     \"-4.98208e-04\",\n                     \"-4.97919e-04\",\n                     \"-4.97631e-04\",\n                     \"-4.97344e-04\",\n                     \"-4.97059e-04\",\n                     \"-4.96774e-04\",\n                     \"-4.96491e-04\",\n                     \"-4.96208e-04\",\n                     \"-4.95927e-04\",\n                     \"-4.95646e-04\",\n                     \"-4.95366e-04\",\n                     \"-4.95087e-04\",\n                     \"-4.94808e-04\",\n                     \"-4.94531e-04\",\n                     \"-4.94254e-04\",\n                     \"-4.93977e-04\",\n                     \"-4.93702e-04\",\n                     \"-4.93427e-04\",\n                     \"-4.93152e-04\",\n                     \"-4.92878e-04\",\n                     \"-4.92604e-04\",\n                     \"-4.92331e-04\",\n                     \"-4.92058e-04\",\n                     \"-4.91786e-04\",\n                     \"-4.91514e-04\",\n                     \"-4.91243e-04\",\n                     \"-4.90972e-04\",\n                     \"-4.90701e-04\",\n                     \"-4.90431e-04\",\n                     \"-4.90161e-04\",\n                     \"-4.89891e-04\",\n                     \"-4.89622e-04\",\n                     \"-4.89353e-04\",\n                     \"-4.89084e-04\",\n                     \"-4.88815e-04\",\n                     \"-4.88547e-04\",\n                     \"-4.88279e-04\",\n                     \"-4.88011e-04\",\n                     \"-4.87744e-04\",\n                     \"-4.87477e-04\",\n                     \"-4.87210e-04\",\n                     \"-4.86943e-04\",\n                     \"-4.86677e-04\",\n                     \"-4.86410e-04\",\n                     \"-4.86232e-04\"\n                  ]\n               },\n               {\n                  \"data_name\":\"in\",\n                  \"values\":[\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"0.000000e+00\",\n                     \"2.562416e-02\",\n                     \"7.687249e-02\",\n                     \"1.793691e-01\",\n                     \"3.067137e-01\",\n                     \"5.614029e-01\",\n                     \"1.070781e+00\",\n                     \"2.089538e+00\",\n                     \"3.165373e+00\",\n                     \"4.845694e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\",\n                     \"5.000000e+00\"\n                  ]\n               }\n            ]\n         }\n      ],\n      \"real\":\"\"\n   }\n```\n\u003c/div\u003e\n\u003c/details\u003e\n\n#### SPECIFIC_PRINT\nParse the case, when the user prints only the data at a specific point. (such as v[t])\n\n```json\n{\n   \"type\":\"SPECIFIC_PRINT\",\n   \"contents\":[\n      {\n         \"key\":\"print_#0\",\n         \"values\":[\n            {\n               \"key\":\"time[k] \",\n               \"values\":[\n                  \" 1.000000e-04\"\n               ]\n            }\n         ]\n      }\n   ],\n   \"real\":\"\"\n}\n```\n\n#### DEBUG_MESSAGE\nDisplay Debug Messages.(This data type is always assigned as the last value in the list(if debug=True or tag value is assigned)\n\n```json\n{\n      \"type\":\"DEBUG_MESSAGE\",\n      \"contents\":[\n         {\n            \"key\":\"tag\",\n            \"values\":[\n               \"1bc29b36f623ba82aaf6724fd3b16718\"\n            ]\n         },\n         {\n            \"key\":\"time\",\n            \"values\":[\n               0.025753021240234375\n            ]\n         }\n      ],\n      \"real\":\"\"\n   }\n```\n\n## Defined exception\n\n### NgspiceNotFoundException\n\n```json\n{\n   \"type\":\"EXCEPTION\",\n   \"contents\":{\n      \"title\":\"NgspiceNotFoundException\",\n      \"description\":\"You should install NGSPICE. If your NGSPICE is alrealdy installed, check the alias settings.\"\n   },\n   \"real\":\"\"\n}\n```\n\n### SomethingBadException\n\n```json\n{\n   \"type\":\"EXCEPTION\",\n   \"contents\":{\n      \"title\":\"SomethingBadException\",\n      \"description\":\"A fatal error that can not be processed by the program has occurred.\"\n   },\n   \"real\":\"\"\n}\n```\n\n## Known Issues\n1. User can't change Ngspice options.\n2. Not available in version 3.6 or lower.\n3. Not have all of the error logging and exception handling.\n4. Can't cover all kinds of output.(feel free to report new data types)\n\n## License\n\n### Ngspice\n\n```\n******\n** ngspice-34 : Circuit level simulation program\n** The U. C. Berkeley CAD Group\n** Copyright 1985-1994, Regents of the University of California.\n** Copyright 2001-2020, The ngspice team.\n** Please get your ngspice manual from http://ngspice.sourceforge.net/docs.html\n** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html\n******\n```\n\n### ngspice-json-cli\n\nMIT\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkingsejong%2Fngspice-json-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkingsejong%2Fngspice-json-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkingsejong%2Fngspice-json-cli/lists"}