Topic: Python script to compare inventories
Hi everyone. I hope this is allowed but if not then I apologise and would ask a mod to remove my post.
I don't know how common this is but my friends and I try to open boosters and swap cards in order to own at least 1 of every card in each set as they get released. One thing we sometimes have trouble with is working out which cards we have duplicates of but are needed by our other friends. Currently we have to sit there with our piles of duplicates and physically go through them one card at a time to work this out, especially with newer sets that we don't know very well yet.
We all use deckbox for our inventory management (because it's easily the best site out there for this!) and so I wrote a short python script that will compare two exported Deckbox inventory .csv files to each other and output two more .csv files that lists possible trades.
Basically it says "Do I have a duplicate of this card? If yes, does my friend have 0 copies of this card? If yes to that as well, add it to the list of possible swaps". It then does the same thing the other way around and gives a second list of the cards your friend could trade to you.
Is this something that the community here would find useful? Is it worth me refining it a bit and putting it up for general use or are we abnormal in how we go about our collecting cards?
Thanks!
Hamish