Skip to content

richardeoin/parts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parts list generator thing

Takes a list like

<farnell> [mouser] <qty> [arbitrary notes]
<farnell> [mouser] <qty> [arbitrary notes]

and outputs useful markdown / csv lists and things

Is ruby because nokogiri and parallel

Prerequisites?

sudo apt-get install ruby-dev libxslt-dev libxml2-dev
sudo gem install nokogiri parallel

or something. sorry

Which files??

parts --> Parts.md in the directory ruby is run from.

Also generates farnell.csv and mouser.csv for use with BOM import tools.

What exactly does it output??

Lines that meet the above specification will be replaced by lines from a markdown table. Other lines get preserved

| Part | Description | Farnell # | Quantity Required | Notes
| ---  | ---         | ---       | ---               | ---

If you put this table header first you'll get a nice table that renders on github etc. Yay!

How do I use it??

git submodules seem like a good idea here

About

Parts Tracker Thing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages