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.1

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.1
File Size Uploaded Provenance Actions
fast_spicerack-0.1.1.tar.gz 492.4 kB With provenance Details for fast_spicerack-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fast-spicerack 0.1.1
File Actions
fast_spicerack-0.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for fast_spicerack-0.1.1-cp313-cp313-win_amd64.whl
fast_spicerack-0.1.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
fast_spicerack-0.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for fast_spicerack-0.1.1-cp312-cp312-win_amd64.whl
fast_spicerack-0.1.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
fast_spicerack-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for fast_spicerack-0.1.1-cp311-cp311-win_amd64.whl
fast_spicerack-0.1.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
fast_spicerack-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for fast_spicerack-0.1.1-cp310-cp310-win_amd64.whl
fast_spicerack-0.1.1-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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fast_spicerack-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for fast_spicerack-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 22.0 MB

Release files / fast_spicerack-0.1.1.tar.gz

Download URL fast_spicerack-0.1.1.tar.gz
Size 492.4 kB
Tags Source
SHA-256 checksum
How to use checksums
539f036ce21ea4ae57337717b4e62e98aa324e837d5b6a636886706271165432
BLAKE2b-256 checksum
How to use checksums
ea7816652c843f67564ba04bcb9ef793bb3864dfeb1069a350ed911e25f2826c
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.1-cp313-cp313-win_amd64.whl

Download URL fast_spicerack-0.1.1-cp313-cp313-win_amd64.whl
Size 1.7 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
71aff8dcf348a4cffeb497a91147ed99278944a8335062083a886b8b6bcc7070
BLAKE2b-256 checksum
How to use checksums
c5ef23d0a19256cb6eed6b30849f5e6f4276e21b85114d59eb1ee2a91c3e638f
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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.1-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
ab909b5e186de66655930b05a9b4ac1d3a9949ad7ff8e17cd932eb815d9f3364
BLAKE2b-256 checksum
How to use checksums
95ccdf1494a1e2fd483b0442e962895194e4d92fd691ce69fbc052ab5d29b86d
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.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.1-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
b264cbcb2bca130c7ec23f4415f2e5d4ffab6b902d6d9681a96e22755b06a5a9
BLAKE2b-256 checksum
How to use checksums
965afa7d530c1483054e739c2521a18452ba913a162dfeb1d37458b716c7b34d
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.1-cp312-cp312-win_amd64.whl

Download URL fast_spicerack-0.1.1-cp312-cp312-win_amd64.whl
Size 1.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
8383e15b3f32c5145dd641c718ef2d2aad48c01aa5053bffd5f631c07eb427b4
BLAKE2b-256 checksum
How to use checksums
4a2c8f0d8c717f5a30ac3c18d5cb2b20a60b0b8f8162de407530501c5c533a5c
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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.1-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
7dad854c645df082a6813257d25e829d90efe8372532ab660cb437c5410a57c4
BLAKE2b-256 checksum
How to use checksums
6627a6ea94c8a89417f1e71f66b62b1e016dfe0a44f4d7f464beead440051cf0
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.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.1-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
20515c772aa70d3705412b28b44113ed132fe93f2c464b37ebba110e05b2df12
BLAKE2b-256 checksum
How to use checksums
faccec1e8679bb5634e6fa5e20e9230e3c933508597c5c745d8661ddf1e62197
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.1-cp311-cp311-win_amd64.whl

Download URL fast_spicerack-0.1.1-cp311-cp311-win_amd64.whl
Size 1.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ed3862afe80496391756fe45bcbd64f8ae6700f2f549fb6cdbfbf975ac98cc1d
BLAKE2b-256 checksum
How to use checksums
f206c6a7a0e3a4a8333c49bfdf06ba78c8caa0e3dc372e004749a251cb29c627
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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.1-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
6d76c646f71c7559426ae631a2bf7164e80f1fdb94e53d83448a72ac6f58f17e
BLAKE2b-256 checksum
How to use checksums
24df95b7e252895dd61ba639a0fe7a2e3b68d350add497d345f397de12215b92
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.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.1-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
d4dc18b840d1f35055624bb704032061189dc89bd607d9a78cf00b42dec2dbbd
BLAKE2b-256 checksum
How to use checksums
dbe9c271b424ff725ba1f996230e2ecda8c6435ae4620cfb574685661e62beda
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.1-cp310-cp310-win_amd64.whl

Download URL fast_spicerack-0.1.1-cp310-cp310-win_amd64.whl
Size 1.7 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5fbd60b1b4a552b8b6880838beeef336643fa7fe0555f521933efb74fd8afa19
BLAKE2b-256 checksum
How to use checksums
100f0ad1882a4a56c1a5bb5520a888c31c0e4810241e0c24ad473c735b3ce8fa
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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fast_spicerack-0.1.1-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
74df21a42750a69ccf019d68241d826d3eb127ad3caa6f5274060a6cb93c613d
BLAKE2b-256 checksum
How to use checksums
d0ab0a00c7e186856e24a827f8cbbe9c04e34964a7dce9392fcf2bba19c7d2b0
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.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL fast_spicerack-0.1.1-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
a208d4de772ae70f63c8af2487b40a0e6a426d9299113420d693ddd512128f2c
BLAKE2b-256 checksum
How to use checksums
52e5ccc55b4b57ef4d7ef84545b632d3f4efff3dd549cc907426f9852c838c63
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.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 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for fast_spicerack-0.1.1.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.1 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