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.5.0.tar.gz
(53.1 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.5.0-py3-none-any.whl
(42.2 kB
view details)
File details
Details for the file spatk-1.5.0.tar.gz.
File metadata
- Download URL: spatk-1.5.0.tar.gz
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9ab73f1d8f03b341f99f1ea5cc2d6b66ea5f745f7637ffae67df04bcd9032b4
|
|
| MD5 |
63da44a0eff5a9f9b1f874673e6a7d50
|
|
| BLAKE2b-256 |
aea7b3e0e408555cb37616d0b59ba9ef71e6ab71a516e34dc3fffb41c70875ef
|
File details
Details for the file spatk-1.5.0-py3-none-any.whl.
File metadata
- Download URL: spatk-1.5.0-py3-none-any.whl
- Upload date:
- Size: 42.2 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 |
1b4228de1d603813716ea4d1486e52c8db12cee65672f028b73e8045be770e5d
|
|
| MD5 |
04e7ed88dabb6544011d770e4a87c2ca
|
|
| BLAKE2b-256 |
46b802ab34e9aecde6102675fbba5d89167c78fbea3a403f48c8dfc25f653b05
|