Skip to main content

A package for reading Altium files

Project description

PyAltium

A tool to process Altium file types. Currently only supports reading of .SchLib files.

Information & Usage

SchLib

Currently the only schematic library capability is creating a list of library items, with some details

Sample usage:

import pprint
from pyaltium import SchLib

# Set up our pretty printer so our output is understandable
pp = pprint.PrettyPrinter(indent=4)

sl = SchLib('my_file_name.SchLib')
print(SchLib.list_items())

Returns

[
    {
        "libref": "ref1",
        "description": "My description",
        "sectionkey": "Section Key" // This is unneeded, just for internals
    },
    // ...
]

PCBLib

Currently the only PCB library capability is creating a list of footprints

Sample usage:

import pprint
from pyaltium import SchLib

# Set up our pretty printer so our output is understandable
pp = pprint.PrettyPrinter(indent=4)

sl = SchLib('my_file_name.SchLib')
print(SchLib.list_items())

Returns:

[
    {
        "footprintref": "ref1",
        "height": "2.8", // mm
        "description": "My description"
    },
    // ...
]

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

PyAltium-0.0.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

PyAltium-0.0.3-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

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