This repository contains python code to generate a markdown
formatted file which will contain the bill-of-materials for a KiCad project. The table inside this markdown
document sources its content from the KiCad .csv
export.
This generator has been developed, based on KiCad version 5.1.2.
The bill-of-materials is an implicit part of any electronics project. When publishing such a project on GitHub, it is important that interested people can view this information in an easily human-readable format.
The code for this script has been written in Python 2.7.15 on MacOS High Sierra. It has been tested in parallel on Windows 10 with Python 3.7.3. The script only uses sys
, OS
and argparse
functionalities, which come with the standard distribution. As such, there are no references to any external libraries.
The current version has been written as a stand-alone tool. The input-file is passed as an argument. The output-file is generated in the same folder, or on a custom location (if defined by an optional argument).
KiCad also provides an API, and the possibility to integrate custom BOM-export plugins directly in the application. This is the wish-list item for the next version of this tool.
- have an idea, and a reason why to make it
- decide on how it should work
- write the code
- test it properly
- document the source code and the important snippets
- write a user manual
- add sample material (Kicad
.csv
test-data, and processed minified markdown documents)
.........coming soon........
If you are having any good suggestions, just drop me a line 📧. If feasible, I'll be happy to implement any proposed improvements. And if you are having lots of time, I'll be happy to share the work with you ;-).
When you create your own version, don't forget to tell us about your work. We'll be happy to publish a link in the 🎊Hall of Fame🎊.
At this moment, there is no specific license attached to this project.
So, on today's date, if you like this content, have fun with it (at your own risk of course :-D), and especially, be creative.
Oh, and when using anything from this repository, it is highly appreciated if you mention its origin.
If you would like to use any of this work (or the whole project) for commercial use, first contact us 📧, so we can add the appropriate license, which best fits your business.