A viewer for LTspice ASC schematics implemented in wxPython
Project description
LTspice ASC Viewer
LTspice is one of the best schematic entry tools out there. It lets you draw any schematic imaginable. LTspice's simple appearance belies its true power.
-
You can draw graphs for computer science.
-
You can define buses.
-
You can nest schematics for complex hierarchies.
Now if only we could use these schematics in a Python GUI.
AscCanvas
The AscCanvas class lets you import a schematic and show it as a wxPython window. It supports zooming, scrolling, searching and subclassing. It uses rtreelib to look up symbols and nets under the mouse pointer.
To show a schematic, you will need to import these files:
-
ASY files are symbols, i.e., components, and they are imported in batch by specifying a list of paths. Load them by calling
AscCanvas.load_symbols()
-
ASC files are schematics. They define the connectivity between instances of symbols. Load them by calling
AscCanvas.load_asc()
.
asc_viewer
asc_viewer is a demo executable that lets you open schematics and shows how to use AscCanvas
.
Installation
pip install asc_viewer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file asc_viewer-1.0.2.tar.gz
.
File metadata
- Download URL: asc_viewer-1.0.2.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de799a14afc4e133d460a9c6fe737510d49113fa2c0157c8d8f0107b18f727e6 |
|
MD5 | ef22c7eb563e29bade99c6a60ddf5a39 |
|
BLAKE2b-256 | e5ae7146891929f348d4a93fab7403baa8084170dee217cea3de6240199e96e2 |
File details
Details for the file asc_viewer-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: asc_viewer-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c00f046020467e2f3cf7721d3d45b0a4927b061a987c5575bf9da5326e0fe546 |
|
MD5 | cc5e9d7c96301aa6295c0d93ea80c3b4 |
|
BLAKE2b-256 | c7c26188b323e3d37ea39b446b7e061c22d175ffa44c768951e83816c2f52042 |