Skip to main content

Module and utilities for manipulating part fields in KiCad files.

Project description

https://img.shields.io/pypi/v/kifield.svg https://travis-ci.org/xesscorp/KiField.svg?branch=master

A utility for manipulating part fields in KiCad schematic files or libraries. KiField can extract all the component fields from a schematic or library and place them into a spreadsheet for bulk editing, after which you can insert the edited values from the spreadsheet back into the schematic or library.

KiField is usually employed in a three-step process:

  1. First use KiField to extract the part field labels and values from a schematic or library and place them into a CSV or XLSX spreadsheet file.

  2. Edit the spreadsheet file to change existing field values, add entirely new fields, or completely delete fields.

  3. Finally, use KiField to insert the updated field labels and values from the spreadsheet file into the schematic or library.

Features

  • Extracts all fields and values from one or more KiCad schematic libraries or files (even hierarchical designs), and inserts them into a spreadsheet (either CSV or XLSX format).

  • Extracts all fields and values from one or more CSV or XLSX spreadsheet files and inserts them into one or more KiCad schematics or libraries.

History

0.1.13 (2018-10-28)

  • Now works on files outside the current directory.

  • Clearer error explanation when part field extraction fails.

  • Simplified installation instructions.

0.1.12 (2018-01-22)

  • Fixed error where output was not produced because KiField was first trying to backup a non-existent output file.

0.1.11 (2018-01-04)

  • Line-feeds and carriage-returns are stripped from strings inserted into .sch or .lib files.

  • Fixed error where reading .lib files was ignoring the first line after the EESchema-LIBRARY header and missing a part DEF.

0.1.10 (2018-01-01)

  • File backup now works on all files in a hierarchical schematic.

0.1.9 (2017-12-31)

  • Fixed mishandling of quoted strings containing escaped quotation marks.

0.1.8 (2017-09-23)

  • Catch exception caused by numeric fields that aren’t strings interacting with vis/invis option.

0.1.7 (2017-08-14)

  • Added visibility/invisibility option for fields.

0.1.6 (2017-01-30)

  • Added “grouping” option (–group) for gathering components with the same field values onto a single line of the XLSX/CSV/TSV file.

0.1.5 (2016-11-29)

  • Added recursive operations on hierarchical schematics so everything can be handled just by processing the top-level file.

0.1.4 (2016-05-29)

0.1.3 (2016-05-29)

  • Fixed issue where all the fields from multi-unit components in a schematic were not appearing in the csv file.

0.1.2 (2016-04-13)

  • Fixed issues #3 and #4 regarding incompatibilities with openpyxl 2.4.0a1.

0.1.1 (2016-02-20)

  • Added the ability to extract/insert fields in DCM files.

  • Added the ability to explicitly exclude fields from extraction/insertion.

0.1.0 (2016-01-29)

  • First release on PyPI.

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

kifield-0.1.13.tar.gz (1.4 MB view details)

Uploaded Source

File details

Details for the file kifield-0.1.13.tar.gz.

File metadata

  • Download URL: kifield-0.1.13.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for kifield-0.1.13.tar.gz
Algorithm Hash digest
SHA256 2c6a62acd41b022e8609214542ae489fbbde84f3af0bf2deda1428dddfcf60ae
MD5 e4bd7d9e0911f579698c800b2cf9f9f9
BLAKE2b-256 7c3d937682ac678d31a63175ad501741f2801e338f18d8c3910935187cdb8d14

See more details on using hashes here.

Supported by

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