Skip to main content

SpiceRack

Tests Docs License: MIT

Build SPICE circuits in Python, run them on the simulator you have, and get the results back as Python lists. One circuit description emits ngspice, LTspice, VACASK, Spectre, ESPice and HSPICE decks, and about 60 ready-made testbenches measure amplifiers, regulators, converters and PLLs for you.

pip install fast-spicerack       # imported as `spicerack`

You also need a simulator to run anything; ngspice is the default. Without one, SpiceRack still writes netlists.

import spicerack as ps

dut = ps.Subcircuit("divider", ["vin", "vout"])
dut.R("top", "vin", "vout", 2e3)
dut.R("bot", "vout", dut.gnd, 1e3)

tb = ps.Testbench(dut)
tb.V("supply", "vin", "0", 9.0)

print(tb.netlist("vacask"))             # the deck for any simulator
print(tb.operating_point()["vout"])     # 3.0, run on ngspice

A ready-made bench measures a whole spec at once:

from spicerack.testbenches import step_response

rc = ps.Subcircuit("rc", ["vin", "vout"])
rc.R("1", "vin", "vout", 1e3)
rc.C("1", "vout", rc.gnd, 100e-12)

print(step_response(ps, rc, period=4e-6).measure()["settle_rise_0p1pct_s"])

Documentation

openfat.github.io/SpiceRack, also readable here in docs/:

Page Covers
Circuits building circuits: elements, sources, units, models, hierarchy, JSON
Simulating analyses, results, simulator settings, choosing a backend, linting
Models and PDKs model libraries and corners, Verilog-A, digital Verilog
Testbenches the bench catalog, corners and Monte Carlo, spec checks
Re-measuring SNDR, settling, margins, noise and yield recomputed from .raw files
Tools the spice2rack converter, the Rust crate, the JSON format
API reference every class and signature

examples/ has 22 runnable scripts.

Development

nix develop .#testing          # Rust, maturin, ngspice, OpenVAF, VACASK, PDKs
maturin develop && python3 -m pytest && cargo test

Pre-1.0: pin a version, as the API can change between minor releases. MIT licensed, see LICENSE.

Metadata

Release files for fast-spicerack 0.1.2

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

Source distribution (sdist)

Source distribution for fast-spicerack 0.1.2
File Size Uploaded Provenance Actions
fast_spicerack-0.1.2.tar.gz 493.2 kB With provenance Details for fast_spicerack-0.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fast-spicerack 0.1.2
File Actions
fast_spicerack-0.1.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for fast_spicerack-0.1.2-cp313-cp313-win_amd64.whl
fast_spicerack-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for fast_spicerack-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
fast_spicerack-0.1.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for fast_spicerack-0.1.2-cp312-cp312-win_amd64.whl
fast_spicerack-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for fast_spicerack-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
fast_spicerack-0.1.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for fast_spicerack-0.1.2-cp311-cp311-win_amd64.whl
fast_spicerack-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for fast_spicerack-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
fast_spicerack-0.1.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for fast_spicerack-0.1.2-cp310-cp310-win_amd64.whl
fast_spicerack-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for fast_spicerack-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.2-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 22.0 MB

Release files / fast_spicerack-0.1.2.tar.gz

Download URL fast_spicerack-0.1.2.tar.gz
Size 493.2 kB
Tags Source
SHA-256 checksum
How to use checksums
104bfefa0f79fab9ec9c21953850f14bac7472ff53832b3344472a1d375b28aa
BLAKE2b-256 checksum
How to use checksums
fd5187ff9137a8c705d55e1e514cb616a9b0862a20762cdaa0e0c9c172c00574
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp313-cp313-win_amd64.whl

Download URL fast_spicerack-0.1.2-cp313-cp313-win_amd64.whl
Size 1.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b48b4eba93d45fa0ab721ab1f41527030e6f45be973c2d686096be2574cbcca2
BLAKE2b-256 checksum
How to use checksums
444ca294217a7cf728ba2e39857264dafba817160462d52109afa6a6407f2474
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.9 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
84a42eb03c56b76c57fb08f97c0d93e22487ac8b69ff4d9c83d72f8a0655be2e
BLAKE2b-256 checksum
How to use checksums
38344185ca81c6bfca763893d9df691f3f4be79793c2e3566def538fbaabe171
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
595e659a8eb733450a58c9e77f8c6e9865ab1cb43551047a63cee22d1db41d39
BLAKE2b-256 checksum
How to use checksums
0cf6fedf05311470a79147a43c6a1ed601864673828e9f9469c883a9f27e5c9a
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp312-cp312-win_amd64.whl

Download URL fast_spicerack-0.1.2-cp312-cp312-win_amd64.whl
Size 1.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6730bcd2b02986ed65ba24007b32dcf90891f1997cef40ee99319242d0b7f9ff
BLAKE2b-256 checksum
How to use checksums
c29e511939837d558c76013f20f34f2ff14c76e974f9356f5faedca98d57e27a
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d621b08e7c34bea31040290ae744f72b683b6ab4f8cba0a9077cc7fba0a1463f
BLAKE2b-256 checksum
How to use checksums
7eeeb732f8d96672b584a147a8205e3fa84a4f45c2454dd57c669bdd33777c9f
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
691eaf3f13d130c943c98bf8f5512f7dd50cc7eca72a2a29ec735edc22b45cd2
BLAKE2b-256 checksum
How to use checksums
33d67d67990b2d41eb9ea8a604f8adf448df109d5a9dcb0c3dbef406e193a3a1
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp311-cp311-win_amd64.whl

Download URL fast_spicerack-0.1.2-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
fbfe60610632e50af7e0e5e116e48bc037de4c166d650c30c113e962f1946bf4
BLAKE2b-256 checksum
How to use checksums
e58ea4f223bd3c72a29922e43fb09ddb050158d409b1a276de81d647da72abb9
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.9 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f8425f5005fd043b93f030c199b33536f167e1d959866c26359579ef8fbaa7c3
BLAKE2b-256 checksum
How to use checksums
7458e9f5d368fa7ba4814c9b903d01669e21c52f22bbc6150fea1a62d7cf130d
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
32fbc9f8509d357a32272585e52033d27c5f276ce22f747b432344986fc2aa73
BLAKE2b-256 checksum
How to use checksums
6b994e1624e8e6d847b9974a3100aa0758ed2f8955aee44d1382617071c9c337
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp310-cp310-win_amd64.whl

Download URL fast_spicerack-0.1.2-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
7bd9b3688dca448a6c1c92ccc400cdc73d99e54dcc0f3ce74606508e48c75fce
BLAKE2b-256 checksum
How to use checksums
bb5bd463671b23440e5376d8143531a165a6ac6891b11e1964331c9f14d450d6
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
440143426e213ff4667f01272be3512920a8f0ca535e70f5c8182dc00fce7502
BLAKE2b-256 checksum
How to use checksums
72397b914dee60623515efdedc0d282a8216e73d15e447964f9859d6d2fde212
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 Oct 31, 2026.

Transparency log

Release files / fast_spicerack-0.1.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Size 1.7 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ac1f1f469296ba1026020e0ac2e0b7f10b06da9925fa83b5391dd5012f404b9a
BLAKE2b-256 checksum
How to use checksums
57c24eb9d247567d787c4600e920f6965544996c51d1e352fdd54a1f6bb6795a
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 Oct 31, 2026.

Transparency log

Security for fast-spicerack 0.1.2

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 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for fast_spicerack-0.1.2.tar.gz

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 Oct 31, 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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

13 release files Full provenance

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