{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/7"}],"enrichment":{"capability":"PySpice provides a Python interface to Ngspice and Xyce circuit simulators, allowing you to define, simulate, and analyze electronic circuits programmatically with support for netlist parsing, unit handling, and visualization.","skillfed_tags":["circuit-simulation","spice-binding","eda-automation"],"use_cases":["Automate parametric sweeps and optimization loops for circuit designs without manual netlist editing.","Generate circuit netlists from KiCad schematics and run simulations directly from Python.","Integrate circuit simulation into a data analysis or machine-learning pipeline using NumPy and SciPy.","Teach circuit analysis and simulation in an educational setting with interactive Python notebooks.","Parse and programmatically modify existing SPICE netlists for batch processing or design exploration."],"what_it_does":"PySpice is a Python module that bridges your code to the Ngspice and Xyce circuit simulators, letting you define electronic circuits using an object-oriented API instead of writing SPICE netlists by hand. It handles unit conversions, exports simulation results to NumPy arrays, and integrates with Matplotlib for plotting. The package includes a partial SPICE netlist parser, support for KiCad schematic integration, and bindings to Ngspice's shared library via CFFI.\n\nYou use PySpice when you want to automate circuit simulation, sweep parameters programmatically, or integrate circuit analysis into a larger Python workflow. It's aimed at engineers and students who prefer scripting over GUI-based simulators. The main dependencies are scientific libraries (NumPy, SciPy, Matplotlib) plus PyYAML and PLY for parsing.","worth_installing":"Yes, if you need to automate SPICE simulation in Python and can install Ngspice or Xyce separately. The package is stable and production-ready, but maintenance is dormant (last release 2021); it remains suitable for established workflows but may not receive fixes for new simulator versions or Python features. No known security vulnerabilities. GPLv3 copyleft applies\u2014verify compatibility with your project's licensing."},"id":"pyspice","links":{"html":"https://skillfed.io/packages/pyspice","md":"https://skillfed.io/packages/pyspice.md","pypi":"https://pypi.org/project/pyspice/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-05-15","license_spdx":null,"license_treatment":"copyleft","name":"PySpice","python_support":"supports_current","summary":"Simulate electronic circuit using Python and the Ngspice / Xyce simulators"},"popularity":{"monthly_downloads":125460,"position":11817,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5"}
