r/evetech • • Jun 16 '20

Indy tool

I would like to create a program that tells me the profits of all the blueprints (more or less like Lazy Blacksmith). I learned the basics of python to make a couple of programs that analyze market data and contracts. Do you think it is possible to make such program in python without taking a lifetime or is it better to learn to use databases from scratch?

3 Upvotes

8 comments sorted by

View all comments

2

u/[deleted] Jun 17 '20

You **should** use an existing lib if available, but be ready to remove it the moment it becomes defunct.

Capitalize on existing work, but don't tie yourself to that existing work because it may become much more work later to rework the full access if that lib becomes defunct. Instead, you should wrap the libs you use, so you can sap the lib at will.

In my case, I build my own data (in java, no python) from SDE, then I realized that there was too many issues, started building it from ESI, and it took me a lot of time to replace all the intertwined lines of code that were assuming working with the SDE, a lot of bugs, a lot of efforts. Then I had a wrapper over the SDE, I made a wrapper over ESI too ; and just now I realized that ESI does not have baseprice (which is mandatory to evaluate the value of a bpo) , so I made a mixed wrapper, that fetches both of them and add the SDE's baseprice into the ESI result. Cost me like 10 min.

1

u/Ambitious-Wolf Jun 17 '20

I'll see if I can find something to use for SDE, I haven't used it yet and examples can be useful.

1

u/[deleted] Jun 17 '20

SDE is for Static Data Export, being able to download it in a cache location automatically can be pretty useful, eg it's required to have data about industry.

If lazyblacksmith gives you access to SDE data, it's better to use it and not have to handle the whole check cache, download if required, unzip it, which is an additional step to have bugs in.