Part creator for KiCad.
Generate multi-unit schematic symbols for KiCad from a CSV, text, or Excel file.
- Free software: MIT license
- Documentation: https://xesscorp.github.io/KiPart.
- Generates schematic part libraries for KiCad from CSV/text/Excel files.
- Converts lists of pins in a file into a multi-unit schematic part symbol.
- Converts multiple files stored in .zip archives.
- Each row of the file lists the number, name, type, style, unit and side of a pin.
- Pins on a unit with the same name (e.g., GND) can be placed at the same location so they can all be tied to the same net with a single connection.
- Also includes kilib2csv for converting schematic part libraries into CSV files suitable for input to KiPart.
- Added “other” category to stm32cube_reader.py to remain compatible with new STM32cube software.
- KiPart will now use a <name>_reader.py file in the current directory to process part information.
- Cleaned up tests directory.
- Fixed missing field label for description in F5.
- Updated Lattice FPGA pinout reader.
- Added option to select schematic symbol fill style.
- Handled differing line terminations between Python 2/3 when converting XLSX to CSV file.
- Fixed Python 2 str.lower() error requiring conversion of str to unicode.
- Added missing parameter to stm32cube_reader().
- Added requirement for openpyxl.
- KiPart now accepts part data stored in Excel .xlsx files.
- Added reader for GOWIN FPGA pin tables.
- Kipart now creates individual .lib files if given multiple .csv files with no global output .lib file specified using the -o option.
- kilib2csv now creates individual .csv files if given multiple .lib files with no global output .csv file specified using the -o option.
- All symbols now include F2 (package) and F3 (datasheet) fields.
- Datasheet link and part description can be entered on the first line of a part description in the CSV file.
- Fixed error in field syntax for part manufacturer number.
- No-connect pins can no longer be bundled because it is marked as an ERC error by EESCHEMA.
- Pins sorted by name or row are now pplaced top-to-bottom on left/right sides and left-to-right on top/bottom sides.
- Removed *_ in statement that caused an error in Python2.
- Removed duplicated entries in pin-style table.
- ~ and # are now allowed in pin-style keys.
- Parts dictionary changed to OrderedDict so it retains the order parts were entered in. Important for passing random part generation tests.
- Specifying -a option allows new parts to be written to an existing library but prevents overwriting existing parts. Using -w in conjunction with -a allows added parts to overwrite existing parts.
- Part name, reference prefix, footprint, and manf. part num. are now allowed on beginning row of part info in a CSV file.
- Expanded the lists of mnemonics for pin types and styles.
- Fixed erroneous library generation when part number is omitted from first line of CSV file.
- Changed default output library to kipart.lib if no output library is specified.
- Changed default output CSV file of kilib2csv to kipart.csv if no output CSV file is specified.
- Added reader for Lattice FPGA devices (except iCE40). (Thanks, Adrien Descamps!)
- Fixed issue #11 (blank lines in CSV file were skipped and multiple parts ran together).
- Fixed issue #18 (crash when symbol side for pin was left blank).
- Fixed problem caused by pin side designators not being lower-case (e.g., “Left”).
- Fixed Xilinx reader function to parse leading comments in their FPGA pin files.
- Added ability to create hidden pins.
- Fixed readers for Xilinx, STM32, PSoC devices.
- Pins on multiple sides of a symbol are now distributed in a more attractive manner.
- Extra stuff on starting line of library no longer kill kilib2csv.
- Fixed bug where kilib2csv was choking on footprint lists in part definitions.
- Added utility to test kilib2csv and kipart on randomly-generated CSV part files.
- kilib2csv utility added to convert KiCad schematic symbol libraries into CSV files suitable for input to KiPart.
- Use same type of sorting for unit names as for pin names so (for example) unit ‘ADC_12’ comes before unit ‘ADC_2’.
- Added reader for CSV-formatted pinout files exported from the STM32CubeMx tool. (Thanks, Hasan Yavuz OZDERYA!)
- Added reader for Xilinx Ultrascale FPGAs.
- Fixed insertion of spaces between groups of pins when pin number starts with ‘*’.
- Replaced call to warnings.warn with issues() function.
- fix_pin_data() now strips leading/trailing spaces from pin information.
- Fixed incorrect y-offset of pins for symbols that only have pins along the right side.
- The number of pins in a bundle is now appended to the pin name instead of an ‘*’.
- Added capability to insert non-existent “gap” pins that divide groups of pins into sections.
- future module requirement added to setup.py.
- Now runs under both Python 2.7 and 3.4.
- The bundling option now only bundles pins where that operation makes sense: power input pins (e.g., VCC and GND) and no-connect pins.
- Input data from the CSV file is now scanned for errors and fixed before it can cause problems in the library file.
- Added reader functions for Xilinx Virtex-6 and Spartan-6.
- Broke-out reader functions into separate modules.
- TXT and CSV files are now acceptable as part data files, but the reader has to be built to handle it.
- Fuzzy string matching is now used for the column headers.
- Choice-type options are now case-insensitive.
- Multiple parts can now be described in a single CSV file.
- Added function and option for reading Cypress PSoC5LP CSV files.
- Simplified key generators for sorting pins by name or number.
- Improved ordering of pins by name.
- Added option for approximate (fuzzy) matching for pin types, styles and orientations (sides).
- Multiple pins with the same name are now hidden by reducing their pin number size to zero (rather than enabling the hidden flag which can cause problems with power-in pins).
- Symbols can now have pins on any combination of left, right, top and bottom sides.
- Added option to append parts to an existing library.
- Refactored kipart routine into subroutines.
- Added documentation.
- Fixed calculation of pin name widths.
- Made CSV row order the default for arranging pins on the schematic symbol.
- Fixed sorting key routine for numeric pin numbers.
- Spaces are now stripped between fields in a CSV file.
- First release on PyPI.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size kipart-0.1.44.tar.gz (57.2 kB)||File type Source||Python version None||Upload date||Hashes View|