This is a sample Altium Designer library that can be maintained in a traceable way.
The library is file-based, and SchLib and PcbLib files are maintained by librarians. An auto-generated XLSX file is used to collect components' parameters and models, serving as a database for Altium. The XLSX file is produced from CSV files using a Python script. The CSV files are also maintained by librarians.
- Multiple librarians can maintain the library simultaneously.
- Users have their own clones of the library, allowing uninterrupted work during maintenance or update routines by librarians or when the main repository is unavailable.
- Unintended changes in spreadsheets are easily identified due to the plain-text nature of CSV files.
- Each change in the library includes a comment, author's name, and date.
Users should have knowledge of Altium Designer and its library and database management. Refer to the Altium documentation links in the "See also" section below. Additionally, users should know how to run a Python script from the command line.
- Install Python.
- Install the following packages:
pandas
xlsxwriter
Add the Parts.DbLib file to your Altium Designer project.
- Clone the provided sample.
- Organize and rename the directory structure on your disk (e.g., on drive C):
parts
-- altium
-- Parts_db
- Run the
csv2xlsx.py
script from the command line to generate the XLSX file.
Ensure that Altium Designer is closed before updating the XLSX file.
- Working with File-based Component Libraries in Altium Designer
- Working with Database Libraries in Altium Designer
This project is licensed under the MIT License.