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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
spatk-1.6.0-py3-none-any.whl
(42.7 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2ae78166666f05be8e92b8179d12bcd70a9cfec612e92c14b10ed5baea6da0
|
|
| MD5 |
c29bb59b76b38381487c1a36262c892b
|
|
| BLAKE2b-256 |
87b170ef767daea0fcd35d5cb77b375f9768e8c2717df704986a0b57f992aba8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b71aa8befe5025dfccfe723025ff16bc27dce6d7dd81be89e4cc2d4ef31da4
|
|
| MD5 |
2232f8a2cdbef1f40ee3cb8aea35fc7c
|
|
| BLAKE2b-256 |
d3ef4e3bbf60b9c2acc5e56fcdb1e3f7a643df6e0225aea2bef7f0d1aeb024f3
|