InvenTree Part Import - A CLI tool to automatically import components from DigiKey, Mouser, LCSC, etc. #5904
Replies: 3 comments 8 replies
-
@30350n Checkout https://github.com/sparkmicro/Ki-nTree/blob/main/run_tests.py maybe you'll find some inspiration there (or not). It was not meant for importing from a source (like a file or MPN list) but may be helpful as reference for your CLI. Btw I might be interested to integrate it into Ki-nTree too 😄 |
Beta Was this translation helpful? Give feedback.
-
@30350n this looks really nice! We should link to this in our third party tools section |
Beta Was this translation helpful? Give feedback.
-
Good work. Thanks for that. We have several tools now that integrate with Mouser and others in one or the other way. It makes visible that everyone uses Inventree in a different way. E.g. we cannot create parts automatically because we need a unique IPN that follows a certain scheme. Others do not care about that. It is interesting to see the different use cases. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
InvenTree Part Import
So for the past couple of weeks I've been working on my own CLI tool to quickly import all the electronic components I've ordered over the years into my InvenTree instance. I just finished implementing all the main features I wanted, so Version 1 is available now at PyPI!
Features
Motivation
This has been born out of some issues I've had with Ki-nTree (which from what I can tell is what most people use for this atm). The main ones being:
(I also honestly just didn't need the whole KiCad part of it, so yeah.)
So I decided to make my own CLI tool, mainly focusing on quickly importing lots of parts with minimal manual intervention required.
I've already done quite some beta testing with a couple of people, but small issues might still be present, so I'd be very happy about any feedback, potential issues and possible feature ideas. Thanks a lot for reading!
~ Bobbe
Beta Was this translation helpful? Give feedback.
All reactions