Skip to main content

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.

alt text

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

Metadata

Release files for asc-viewer 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asc-viewer 1.0.2
File Size Uploaded
asc_viewer-1.0.2.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asc-viewer 1.0.2
File Interpreter ABI Platform
asc_viewer-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / asc_viewer-1.0.2.tar.gz

Download URL asc_viewer-1.0.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
de799a14afc4e133d460a9c6fe737510d49113fa2c0157c8d8f0107b18f727e6
BLAKE2b-256 checksum
How to use checksums
e5ae7146891929f348d4a93fab7403baa8084170dee217cea3de6240199e96e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / asc_viewer-1.0.2-py3-none-any.whl

Download URL asc_viewer-1.0.2-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c00f046020467e2f3cf7721d3d45b0a4927b061a987c5575bf9da5326e0fe546
BLAKE2b-256 checksum
How to use checksums
c7c26188b323e3d37ea39b446b7e061c22d175ffa44c768951e83816c2f52042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0

2 release files

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