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('myfile_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('myfile_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.3.0.tar.gz
(11.0 kB
view hashes)
Built Distribution
PyAltium-0.3.0-py3-none-any.whl
(23.4 kB
view hashes)