Skip to main content

spice3

pip install spice3 → import spice.

Circuit simulation for Python, powered by Dune — a Rust engine derived from Berkeley SPICE3f5 and validated circuit-by-circuit against ngspice as numerical oracle.

Status: pre-alpha. This release reserves the package name while the engine's first public version is being finished. The API below works today but may still change.

from pathlib import Path
import spice

result = spice.simulate(Path("rc.cir"))
plot = result.plot("Transient Analysis")
df = plot.df()          # polars DataFrame, scale column first
v2 = plot.column("v(2)")  # zero-copy, read-only numpy array
  • Every SPICE3f5 analysis: .op, .dc, .tran, .ac, .pz, .noise, .disto, .tf, .sens.
  • All SPICE3f5 devices, including BJT (Gummel–Poon), MOS levels 1/2/3/6, BSIM1/BSIM2, JFET, MESFET, switches and both transmission lines.
  • Results as polars DataFrames (pandas optional) and zero-copy NumPy arrays; complete type annotations (py.typed).
  • Faithful netlist semantics: decks that run under spice3 -b or ngspice -b run here, with structured, span-carrying errors.

The engine, corpus and oracle harness live in the Dune repository. BSD-3-Clause, © André Leite and The Regents of the University of California.

Metadata

Release files for spice3 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for spice3 0.0.1
File Actions
spice3-0.0.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for spice3-0.0.1-cp310-abi3-win_amd64.whl
spice3-0.0.1-cp310-abi3-manylinux_2_39_x86_64.whl CPython 3.10 abi3 Linux glibc 2.39+ x86-64 Details for spice3-0.0.1-cp310-abi3-manylinux_2_39_x86_64.whl
spice3-0.0.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for spice3-0.0.1-cp310-abi3-macosx_11_0_arm64.whl
spice3-0.0.1-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for spice3-0.0.1-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 4.9 MB

Release files / spice3-0.0.1-cp310-abi3-win_amd64.whl

Download URL spice3-0.0.1-cp310-abi3-win_amd64.whl
Size 1.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ffcf46e5a8ebe774cd7c61f43e9d5b24b4f8e562653b146cfad1e6cbc9cb7db6
BLAKE2b-256 checksum
How to use checksums
7652063710ca503f9d0306b9eef38a53e7639ad604513436362aec39835629e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / spice3-0.0.1-cp310-abi3-manylinux_2_39_x86_64.whl

Download URL spice3-0.0.1-cp310-abi3-manylinux_2_39_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux glibc 2.39+ x86-64 abi3
SHA-256 checksum
How to use checksums
f014214c0e51dff34d4203937e5908c88c45bf2323282bb3696492f8a2890878
BLAKE2b-256 checksum
How to use checksums
ec07b49c127b749f9f6da49b9c5da89fc62b5e2d4e83d22a326dd90e4b0194c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / spice3-0.0.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL spice3-0.0.1-cp310-abi3-macosx_11_0_arm64.whl
Size 945.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
890c11d13e4c3628e6c7c9989d2b8054c8412195e4b0ea2ac3c7a4edaef5e2a1
BLAKE2b-256 checksum
How to use checksums
9fb988f022ab8a3f73c411010464508b7f92338ed20eb77ee6b716adaeae3f5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / spice3-0.0.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL spice3-0.0.1-cp310-abi3-macosx_10_12_x86_64.whl
Size 1.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
40f793fc5df1e43698d57dd7d8c6e9adf37a427171e2d1c35c23e265ec1399ab
BLAKE2b-256 checksum
How to use checksums
8ec47c88f9266db4529ae7606813fdbeb9b04ca0abf398d3e735236413a16b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for spice3 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for spice3-0.0.1-cp310-abi3-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page