Skip to main content

Module for handling and analyzing spice netlists

Project description

SPATK - Spice Analysis ToolKit

Tools for handling and analyzing Spice netlists

  • Provides an easy interface for netlist manipulation.
  • Uses Python standard library only.
  • Easy to extend.

Installation

pip intall spatk

Example

* mynetlist.spice

vdd vdd vss 1
vss vss 0   0
r1  vdd n1  1k
r2  n1  vss 2k
x1  vdd vss sr

.subckt subres n1 n2
r1  n1  n2  3k
.ends
import spatk

cir = spatk.Circuit("mynetlist.spice")

for res in cir.resistors:
    print(res.instance, res.resistance, res.location)
r1 1k /
r2 2k /
r1 3k /subres

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatk-1.6.0.tar.gz (54.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatk-1.6.0-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

Details for the file spatk-1.6.0.tar.gz.

File metadata

  • Download URL: spatk-1.6.0.tar.gz
  • Upload date:
  • Size: 54.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for spatk-1.6.0.tar.gz
Algorithm Hash digest
SHA256 6c2ae78166666f05be8e92b8179d12bcd70a9cfec612e92c14b10ed5baea6da0
MD5 c29bb59b76b38381487c1a36262c892b
BLAKE2b-256 87b170ef767daea0fcd35d5cb77b375f9768e8c2717df704986a0b57f992aba8

See more details on using hashes here.

File details

Details for the file spatk-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: spatk-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for spatk-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89b71aa8befe5025dfccfe723025ff16bc27dce6d7dd81be89e4cc2d4ef31da4
MD5 2232f8a2cdbef1f40ee3cb8aea35fc7c
BLAKE2b-256 d3ef4e3bbf60b9c2acc5e56fcdb1e3f7a643df6e0225aea2bef7f0d1aeb024f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page